forked from Seltcana/rootfs-wip
Compare commits
No commits in common. "master" and "master" have entirely different histories.
|
@ -234,7 +234,7 @@ class RootFS::RootFS
|
|||
|
||||
def unmount(directory = nil)
|
||||
if directory
|
||||
execute "mountpoint -q '#{@directory}/#{directory}' || exit 0 && umount '#{@directory}/#{directory}'"
|
||||
execute "umount '#{@directory}/#{directory}'"
|
||||
return
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue