Skip to content
Snippets Groups Projects
Commit f0551f96 authored by Duncan Mortimer's avatar Duncan Mortimer
Browse files

Fix exit code on incorrect cmd line

parent c11f9a1b
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,7 @@ echo "" ...@@ -13,7 +13,7 @@ echo ""
echo "Usage: zeropad <input> <length of output>" echo "Usage: zeropad <input> <length of output>"
echo "e.g. zeropad 1 4 gives 0001" echo "e.g. zeropad 1 4 gives 0001"
echo "" echo ""
exit exit 1
} }
[ "$1" = "" ] && Usage [ "$1" = "" ] && Usage
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment