diff options
| -rwxr-xr-x | tools/cleanup-containers | 6 | ||||
| -rwxr-xr-x | tools/kolla | 5 |
2 files changed, 0 insertions, 11 deletions
diff --git a/tools/cleanup-containers b/tools/cleanup-containers index 8e6c7ff31..efdd84376 100755 --- a/tools/cleanup-containers +++ b/tools/cleanup-containers @@ -1,11 +1,5 @@ #!/bin/bash -# Check if user is root -if [[ $EUID -ne 0 ]]; then - echo "You must execute this script as root." 1>&2 - exit 1 -fi - # Move to top level directory REAL_PATH=$(python -c "import os,sys;print os.path.realpath('$0')") cd "$(dirname "$REAL_PATH")/.." diff --git a/tools/kolla b/tools/kolla index 62193d9d9..e0965a0d1 100755 --- a/tools/kolla +++ b/tools/kolla @@ -2,11 +2,6 @@ # # This script can be used to interact with kolla. -if [[ $EUID -ne 0 ]]; then - echo "You must execute this script as root." 1>&2 - exit 1 -fi - # Move to top level directory REAL_PATH=$(python -c "import os,sys;print os.path.realpath('$0')") cd "$(dirname "$REAL_PATH")/.." |
