Rewrite && and || into if/then/else syntax which fixes some bugs.
This commit is contained in:
parent
8c2047d87f
commit
2e65b56a44
2
beadm
2
beadm
|
|
@ -157,7 +157,7 @@ case ${1} in
|
||||||
(create) # ------------------------------------------------------------------
|
(create) # ------------------------------------------------------------------
|
||||||
case ${#} in
|
case ${#} in
|
||||||
(4)
|
(4)
|
||||||
if [ ${2} = "-e" ]
|
if ! [ ${2} = "-e" ]
|
||||||
then
|
then
|
||||||
__usage
|
__usage
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue