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