Compare commits
No commits in common. "dace7bf9f4caa9f5fd89b393e78f40639df74904" and "bba30c52222dec91965189214615606a689ebd36" have entirely different histories.
dace7bf9f4
...
bba30c5222
1 changed files with 1 additions and 7 deletions
|
@ -21,13 +21,7 @@ module GX
|
|||
module GenericFilesystem
|
||||
def unmount
|
||||
system("fusermount -u #{mount_dir.shellescape}")
|
||||
fusermount_status = $?
|
||||
|
||||
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)
|
||||
end
|
||||
end
|
||||
|
||||
def mount(&block)
|
||||
|
|
Loading…
Reference in a new issue