aboutsummaryrefslogtreecommitdiff
path: root/utils/mount.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/mount.c')
-rw-r--r--utils/mount.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/mount.c b/utils/mount.c
index 68fd6493..30e9bef3 100644
--- a/utils/mount.c
+++ b/utils/mount.c
@@ -277,7 +277,8 @@ do_mount (struct fs *fs, int remount)
o = argz_next (mntopts, mntopts_len, o);
}
- ARGZ (append (&mntopts, &mntopts_len, options, options_len));
+ if (options_len)
+ ARGZ (append (&mntopts, &mntopts_len, options, options_len));
}
else
{