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;