mirror of
https://github.com/smxi/inxi.git
synced 2025-01-31 18:12:21 +00:00
bug fix
This commit is contained in:
parent
2d0791cc3e
commit
13162680b8
2
inxi
2
inxi
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue