diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-01-02 12:58:08 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-01-02 12:58:08 +0000 |
commit | c514d5382b0ff30beebdc422fcb37c27e2daf729 (patch) | |
tree | bf11c66aa8a7f9f201b056336b0371a9a0830f21 | |
parent | 3f88e7a02bb1a3182f1d404740d99cc02ca840bb (diff) | |
download | iurt-c514d5382b0ff30beebdc422fcb37c27e2daf729.tar iurt-c514d5382b0ff30beebdc422fcb37c27e2daf729.tar.gz iurt-c514d5382b0ff30beebdc422fcb37c27e2daf729.tar.bz2 iurt-c514d5382b0ff30beebdc422fcb37c27e2daf729.tar.xz iurt-c514d5382b0ff30beebdc422fcb37c27e2daf729.zip |
really fix 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} eq "root"; $run{uid} = getpwnam $run{user}; plog('DEBUG', "using local user $run{user}, id $run{uid}"); |