diff options
author | Gustavo De Nardin <spuk@mandriva.org> | 2008-07-10 22:19:52 +0000 |
---|---|---|
committer | Gustavo De Nardin <spuk@mandriva.org> | 2008-07-10 22:19:52 +0000 |
commit | c4ba505182fce1644f4db07a3a8640e416d1c7cc (patch) | |
tree | a2d64c3de7ef1bf45dbb00e815599ce26f51babd | |
parent | 0c2ff26da8886c9007d981da6bc7b43b53512204 (diff) | |
download | iurt-c4ba505182fce1644f4db07a3a8640e416d1c7cc.tar iurt-c4ba505182fce1644f4db07a3a8640e416d1c7cc.tar.gz iurt-c4ba505182fce1644f4db07a3a8640e416d1c7cc.tar.bz2 iurt-c4ba505182fce1644f4db07a3a8640e416d1c7cc.tar.xz iurt-c4ba505182fce1644f4db07a3a8640e416d1c7cc.zip |
use the defined $sudo instead of whole path to sudo
-rwxr-xr-x | iurt2 | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1552,7 +1552,7 @@ sub find_provides { } sub check_sudo_access() { - return 0 == system("/usr/bin/sudo -S /bin/true &>/dev/null </dev/null"); + return 0 == system("$sudo -S /bin/true &>/dev/null </dev/null"); } __END__ |