Bug #189
libremkchroot should umount when exiting with error
Status:
not-a-bug
Priority:
bug
Category:
-
Assignee:
-
% Done:
0%
Description
For example, I failed my previous command for libremkchroot, and I tried it a second time with the correct arguments, but it wanted to overwrite the mounted system, reporting errors.
Also, I didn't understand what was happening and I tried to remove the jail directory, without checking that my system was mounted in that directory!
It would be a good and simple behavour to unmount if reporting error.