Skip to content

Commit d8a2496

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Check UNSTACK_ALL or -a flag set on unstack"
2 parents 4bcf652 + 8040e69 commit d8a2496

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

unstack.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
# Stop all processes by setting ``UNSTACK_ALL`` or specifying ``-a``
1010
# on the command line
1111

12-
UNSTACK_ALL=""
12+
UNSTACK_ALL=${UNSTACK_ALL:-""}
1313

1414
while getopts ":a" opt; do
1515
case $opt in
1616
a)
17-
UNSTACK_ALL=""
17+
UNSTACK_ALL="-1"
1818
;;
1919
esac
2020
done

0 commit comments

Comments
 (0)