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)
|
def unmount(directory = nil)
|
||||||
if directory
|
if directory
|
||||||
execute "mountpoint -q '#{@directory}/#{directory}' || exit 0 && umount '#{@directory}/#{directory}'"
|
execute "umount '#{@directory}/#{directory}'"
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue