summaryrefslogtreecommitdiffstats
path: root/src/installer
diff options
context:
space:
mode:
Diffstat (limited to 'src/installer')
-rw-r--r--src/installer/OpenSLX/OSSetup/Distro/Base.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/installer/OpenSLX/OSSetup/Distro/Base.pm b/src/installer/OpenSLX/OSSetup/Distro/Base.pm
index 3f640f7c..84f56d3f 100644
--- a/src/installer/OpenSLX/OSSetup/Distro/Base.pm
+++ b/src/installer/OpenSLX/OSSetup/Distro/Base.pm
@@ -205,12 +205,12 @@ sub finishSession
# umount /proc, /dev/pts (if we have 'umount' available)
if (qx{which umount 2>/dev/null}) {
- if (slxsystem("umount /proc")) {
- warn _tr("unable to umount '%s' (%s)\n", "/proc", $!);
- }
if (slxsystem("umount /dev/pts")) {
warn _tr("unable to umount '%s' (%s)\n", "/dev/pts", $!);
}
+ if (slxsystem("umount /proc")) {
+ warn _tr("unable to umount '%s' (%s)\n", "/proc", $!);
+ }
}
return 1;