diff options
| author | makefu <github@syntax-fehler.de> | 2013-11-12 11:01:24 +0100 | 
|---|---|---|
| committer | makefu <github@syntax-fehler.de> | 2013-11-12 11:01:24 +0100 | 
| commit | 9c37085f71b3fd7dd182813834c6e8017077f08c (patch) | |
| tree | c3eb394605bc9a41a274fffcb1c6bcbf7073bb4f /ship | |
| parent | 978087148d1165694584385dff4081fb0738ae14 (diff) | |
ship:fix esudo
Diffstat (limited to 'ship')
| -rw-r--r-- | ship/lib/core | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/ship/lib/core b/ship/lib/core index 3a6b33ff..e0edc2be 100644 --- a/ship/lib/core +++ b/ship/lib/core @@ -10,7 +10,7 @@ is_root(){  esudo(){    # becomes root with sudo powers    # unless nosudo env is set -  if test "${nosudo-false}" != true || is_root; then +  if test "${nosudo-false}" != true && ! is_root; then      echo "we're going sudo..." >&2      exec sudo -E "$0" "$@"      exit 23 # go to hell | 
