diff options
Diffstat (limited to 'installer/installer.py')
-rwxr-xr-x | installer/installer.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/installer/installer.py b/installer/installer.py index f84df062..6d4ac297 100755 --- a/installer/installer.py +++ b/installer/installer.py @@ -113,7 +113,10 @@ class BaserockInstaller(): def do_unmounts(self, to_unmount): for path in reversed(to_unmount): print 'Unmounting %s' % path - subprocess.Popen(['umount', path]) + try: + subprocess.check_call(['umount', path]) + except: + print 'WARNING: Failed to `umount %s`' % path def check_and_read_config(self, config_file): print "Reading configuration from %s..." % config_file |