changeset 19:320c4b93bf39

*** empty log message ***
author casties
date Tue, 20 Sep 2005 19:28:26 +0200
parents fdf4ceb36db1
children 79c6618e8dfa
files archivecheck.pl
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/archivecheck.pl	Tue Sep 20 19:24:57 2005 +0200
+++ b/archivecheck.pl	Tue Sep 20 19:28:26 2005 +0200
@@ -342,7 +342,7 @@
 
 # make shure the right user is running this program
 my $user = getlogin;
-if (($user ne "archive")&&($user ne "root")) {
+if (not (($user eq "archive")||($user eq "root"))) {
     logger("ABORT", "you must be archive or root user to run this program!");
     exit 1;
 }