Compare commits
No commits in common. "eb42b28841b1655a67ee1061f17e47d513f438cd" and "dace7bf9f4caa9f5fd89b393e78f40639df74904" have entirely different histories.
eb42b28841
...
dace7bf9f4
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ module GX
|
|||
system("fusermount -u #{mount_dir.shellescape}")
|
||||
fusermount_status = $?
|
||||
|
||||
if fusermount_status.success?
|
||||
if fusermount_status.success? == 0
|
||||
puts "Filesystem #{name} is now closed.".colorize(:green)
|
||||
else
|
||||
puts "Error: Unable to unmount filesystem #{name} (exit code: #{fusermount_status.exit_code}).".colorize(:red)
|
||||
|
|
Loading…
Reference in a new issue