catbin args exit if $# -lt 1
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
if [ "$#" -ne 1 ] ; then
|
||||
if [ "$#" -lt 1 ] ; then
|
||||
echo "Usage: $0 arg1"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user