aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util-linux/umount.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/util-linux/umount.c b/util-linux/umount.c
index 6de71b4ab..dd072e7f6 100644
--- a/util-linux/umount.c
+++ b/util-linux/umount.c
@@ -116,7 +116,9 @@ extern int umount_main(int argc, char **argv)
116 del_loop(m->device); 116 del_loop(m->device);
117 117
118 if(curstat) { 118 if(curstat) {
119 if(useMtab && m) erase_mtab(m->dir); 119 /* Yes, the ENABLE is redundant here, but the optimizer for ARM
120 * can't do simple constant propogation in local variables... */
121 if(ENABLE_FEATURE_MTAB_SUPPORT && useMtab && m) erase_mtab(m->dir);
120 status = EXIT_FAILURE; 122 status = EXIT_FAILURE;
121 bb_perror_msg("Couldn't umount %s\n", path); 123 bb_perror_msg("Couldn't umount %s\n", path);
122 } 124 }