firstboot: fix typo (closes: #6738)
[openwrt/svn-archive/archive.git] / package / base-files / files / lib / firstboot / 99_10_with_fo_cleanup
index 8b001597224e95dc097f03fc0a4ce7f9377bb428..0833954e5b42cc18c2794d1feab6b3bbf61a45a8 100644 (file)
@@ -6,7 +6,7 @@
 with_fo_cleanup() {
     # try to get rid of /tmp/root
     # this will almost always fail
-    mount /tmp/root 2>&-
+    umount /tmp/root 2>&-
     exit 0
 }