Merge "Check UNSTACK_ALL or -a flag set on unstack"
This commit is contained in:
commit
d8a2496cc1
@ -9,12 +9,12 @@
|
|||||||
# Stop all processes by setting ``UNSTACK_ALL`` or specifying ``-a``
|
# Stop all processes by setting ``UNSTACK_ALL`` or specifying ``-a``
|
||||||
# on the command line
|
# on the command line
|
||||||
|
|
||||||
UNSTACK_ALL=""
|
UNSTACK_ALL=${UNSTACK_ALL:-""}
|
||||||
|
|
||||||
while getopts ":a" opt; do
|
while getopts ":a" opt; do
|
||||||
case $opt in
|
case $opt in
|
||||||
a)
|
a)
|
||||||
UNSTACK_ALL=""
|
UNSTACK_ALL="-1"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user