return not exit from function
This commit is contained in:
1 parent
eabcc55f73
commit
09aed84638
1 file changed
+2
-1
+2
-1
@@ -1,5 +1,6 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
set -x
|
||||
|
||||
usage() {
|
||||
echo "Usage:"
|
||||
@@ -138,7 +139,7 @@ configure_container_networking() {
|
||||
|
||||
[ -f /var/run/netns/$NSPID ] && rm -f /var/run/netns/$NSPID
|
||||
|
||||
exit $EXITCODE
|
||||
return $EXITCODE
|
||||
}
|
||||
|
||||
case "$COMMAND" in
|
||||
|
||||
Reference in new issue
Block a user