diff options
Diffstat (limited to 'easy_e17.sh')
-rwxr-xr-x | easy_e17.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/easy_e17.sh b/easy_e17.sh index b0570e0..eafcec1 100755 --- a/easy_e17.sh +++ b/easy_e17.sh @@ -563,7 +563,7 @@ function check_build_user () rm -f "$tmp_path/sudo.test" fi # check cmdline provided password - if [ -n "sudopwd" ]; then + if [ -n "$sudopwd" ]; then echo "$sudopwd" | sudo -S touch "$tmp_path/sudo.test" &>/dev/null if [ ! -e "$tmp_path/sudo.test" ]; then error "cmdline provided sudo password failed!" |