summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xeasy_e17.sh2
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!"