diff options
-rwxr-xr-x | lbmk | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -39,7 +39,7 @@ main() elif [ "${0##*/}" = "blobutil" ]; then ./update blobs $@ || exit 1 exit 0 - elif [ $# -lt 2 ]; then + elif [ $# -lt 1 ]; then die "Too few arguments. Try: ${0} help" fi @@ -121,7 +121,7 @@ listmodes() die() { - printf "Error: %s\n"; ${@} 1>&2 + printf "Error: %s\n" "${@}" 1>&2 exit 1 } |