return not exit from function

This commit is contained in:
Bryan Boreham committed 2014-09-17 16:30:50 +01:00
1 parent eabcc55f73
commit 09aed84638
1 file changed
+2 -1
+2 -1
View File
@@ -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