Commit df88f1d7 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-sh-functions esu(): don't req su

parent e0c1a272
......@@ -497,7 +497,7 @@ esu()
else
# just shell
showcmd "su -"
exec su -
a= exec su -
fi
fi
......@@ -526,11 +526,11 @@ esu()
#info "Enter root password:"
if [ -n "$*" ] ; then
[ -n "$quiet" ] || showcmd "su - -c $escaped"
exec su - -c "$escaped"
a= exec su - -c "$escaped"
else
# just shell
showcmd "su -"
exec su -
a= exec su -
fi
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment