Fix: syntax error when comparing number of arguments

This commit is contained in:
leafee98 2023-09-18 10:28:36 +08:00
parent c30e47ce56
commit 9062806ce6

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash
# Just quit queitly when no program specfied
if (( "$#" -le 0 )) ; then
if (( "$#" == 0 )) ; then
exit 0
fi