forked from AFPy/python-docs-fr
bash operator -eq is for integers not strings
This commit is contained in:
parent
09978df9bf
commit
ebd8c8c849
|
@ -11,7 +11,7 @@ _usage() {
|
||||||
|
|
||||||
LAUNCH_EDIT=1
|
LAUNCH_EDIT=1
|
||||||
if [ $# -eq 2 ]; then
|
if [ $# -eq 2 ]; then
|
||||||
if [ "$1" -eq "-n" ] || [ "$1" -eq "--no-edit" ]; then
|
if [ "$1" = "-n" ] || [ "$1" = "--no-edit" ]; then
|
||||||
LAUNCH_EDIT=0
|
LAUNCH_EDIT=0
|
||||||
else
|
else
|
||||||
_usage
|
_usage
|
||||||
|
|
Loading…
Reference in New Issue
Block a user