diff options
author | Gustavo De Nardin <spuk@mandriva.org> | 2007-12-27 21:57:38 +0000 |
---|---|---|
committer | Gustavo De Nardin <spuk@mandriva.org> | 2007-12-27 21:57:38 +0000 |
commit | 3f88e7a02bb1a3182f1d404740d99cc02ca840bb (patch) | |
tree | cdfae8ce3dafcc462addb67a1943e9f81264d006 | |
parent | ce816763dd63bd002ccf6195f570ed4992220b22 (diff) | |
download | iurt-3f88e7a02bb1a3182f1d404740d99cc02ca840bb.tar iurt-3f88e7a02bb1a3182f1d404740d99cc02ca840bb.tar.gz iurt-3f88e7a02bb1a3182f1d404740d99cc02ca840bb.tar.bz2 iurt-3f88e7a02bb1a3182f1d404740d99cc02ca840bb.tar.xz iurt-3f88e7a02bb1a3182f1d404740d99cc02ca840bb.zip |
- fixed comparison operator
-rwxr-xr-x | iurt2 | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -652,7 +652,7 @@ if ($run{use_cache}) { $run{daydate} = $daydate; plog('DEBUG', "using $run{run} as chroot extension"); $run{user} ||= $ENV{USER}; -die "Iurt should not be executed as root." if $run{user} == "root"; +die "Iurt should not be executed as root." if $run{user} =~ "root"; $run{uid} = getpwnam $run{user}; plog('DEBUG', "using local user $run{user}, id $run{uid}"); |