mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-13 03:18:28 +00:00
Return the status of the last command
This commit is contained in:
parent
aefe19d482
commit
d09ac2b8d7
@ -1410,8 +1410,11 @@ while true; do
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
status=$?
|
||||
shift
|
||||
if [ $# -eq 0 ]; then
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
exit $status
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user