This commit is contained in:
Harald Hope 2018-03-21 00:46:12 -07:00
parent 2d0791cc3e
commit 13162680b8

2
inxi
View file

@ -3193,7 +3193,7 @@ sub update_man {
print "Unable to continue: $man_file_location\n"; print "Unable to continue: $man_file_location\n";
return 0; return 0;
} }
if ( -w $man_file_location ){ if ( ! -w $man_file_location ){
print "Cannot write to $man_file_location! Are you root?\n"; print "Cannot write to $man_file_location! Are you root?\n";
print "Unable to continue: $man_file_location\n"; print "Unable to continue: $man_file_location\n";
return 0; return 0;