diff options
| author | Maximilian Gass <mxey@ghosthacking.net> | 2009-07-01 16:22:45 +0200 | 
|---|---|---|
| committer | Maximilian Gass <mxey@ghosthacking.net> | 2009-07-01 16:22:45 +0200 | 
| commit | b095a346920bc40a24e734e932d19cdc27b72602 (patch) | |
| tree | 9458ce123caef25baad26c6f097b8cd4450ef9f7 | |
| parent | 47c5fa5dfccf83a078673ba4703c75be0974fa3e (diff) | |
bin/envstore: Little readability improvement
| -rwxr-xr-x | bin/envstore | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/envstore b/bin/envstore index 936a584..7f34984 100755 --- a/bin/envstore +++ b/bin/envstore @@ -30,11 +30,11 @@ sub check_store {  		return(0);  	}  	($mode, $uid) = (stat($store_file))[2,4]; -	$mode &= 0x00077;  	if ($uid != $<) {  		print STDERR "envstore: store file not owned by us\n";  		exit(1);  	} +	$mode &= 0x00077;  	if ($mode > 0) {  		print STDERR "envstore: store file writable by group/others\n";  		exit(1);  | 
