Prepare for v0.2.0 #53

Merged
glenux merged 43 commits from develop into master 2024-12-29 18:16:40 +00:00
Showing only changes of commit dace7bf9f4 - Show all commits

View file

@ -21,7 +21,13 @@ 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)