bash operator -eq is for integers not strings
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
This commit is contained in:
parent
09978df9bf
commit
ebd8c8c849
|
@ -11,7 +11,7 @@ _usage() {
|
|||
|
||||
LAUNCH_EDIT=1
|
||||
if [ $# -eq 2 ]; then
|
||||
if [ "$1" -eq "-n" ] || [ "$1" -eq "--no-edit" ]; then
|
||||
if [ "$1" = "-n" ] || [ "$1" = "--no-edit" ]; then
|
||||
LAUNCH_EDIT=0
|
||||
else
|
||||
_usage
|
||||
|
|
Loading…
Reference in New Issue
Block a user