summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2011-04-21 20:31:14 -0400
committerChris Buechler <cmb@pfsense.org>2011-04-21 20:31:14 -0400
commitde7222fbf0c65ddb8c1a1dc3658381274698e56e (patch)
treeca083cbd88a42225f561c10642cba6432b91be91
parent2d4003aab1d969ed9ba3e52f2fe3ec083e4bef8c (diff)
downloadpfsense-de7222fbf0c65ddb8c1a1dc3658381274698e56e.zip
pfsense-de7222fbf0c65ddb8c1a1dc3658381274698e56e.tar.gz
correctly unmount drives where a config doesn't exist
-rwxr-xr-xetc/ecl.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/ecl.php b/etc/ecl.php
index 9f68919..47e187a 100755
--- a/etc/ecl.php
+++ b/etc/ecl.php
@@ -149,8 +149,8 @@ function find_config_xml() {
exec("/sbin/umount /tmp/mnt/cf");
exit;
}
- exec("/sbin/umount /tmp/mnt/cf");
}
+ exec("/sbin/umount /tmp/mnt/cf");
}
}
}
OpenPOWER on IntegriCloud