Add exit codes
This commit is contained in:
parent
45db9d52a2
commit
4d8c2da938
@ -3,8 +3,10 @@ set -euo pipefail
|
|||||||
|
|
||||||
if [ $# -eq 0 ]; then
|
if [ $# -eq 0 ]; then
|
||||||
echo "Please supply the seed"
|
echo "Please supply the seed"
|
||||||
|
$(exit 1); echo "$?"
|
||||||
elif [ $# -ge 2 ]; then
|
elif [ $# -ge 2 ]; then
|
||||||
echo "Please only give one argument"
|
echo "Please only give one argument"
|
||||||
|
$(exit 1); echo "$?"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
seed="$1"
|
seed="$1"
|
||||||
|
Loading…
Reference in New Issue
Block a user