mirror of
https://github.com/smxi/inxi.git
synced 2025-04-09 03:09:14 +00:00
bug fix
This commit is contained in:
parent
2d0791cc3e
commit
13162680b8
1 changed files with 1 additions and 1 deletions
2
inxi
2
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;
|
||||
|
|
Loading…
Add table
Reference in a new issue