From 13162680b898f3685df9b5055305dbd706d84f2d Mon Sep 17 00:00:00 2001 From: Harald Hope Date: Wed, 21 Mar 2018 00:46:12 -0700 Subject: [PATCH] bug fix --- inxi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inxi b/inxi index 04f70f5..c38fdfc 100755 --- a/inxi +++ b/inxi @@ -3193,7 +3193,7 @@ sub update_man { print "Unable to continue: $man_file_location\n"; return 0; } - if ( -w $man_file_location ){ + if ( ! -w $man_file_location ){ print "Cannot write to $man_file_location! Are you root?\n"; print "Unable to continue: $man_file_location\n"; return 0;