From b095a346920bc40a24e734e932d19cdc27b72602 Mon Sep 17 00:00:00 2001 From: Maximilian Gass Date: Wed, 1 Jul 2009 16:22:45 +0200 Subject: bin/envstore: Little readability improvement --- bin/envstore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3