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