[hackers] [ubase][PATCH 4/5] mount: Fix ambigious if statement

From: Klemens Nanni <kl3_AT_posteo.org>
Date: Mon, 11 Jul 2016 14:27:59 +0200

---
 mount.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/mount.c b/mount.c
index 1696219..d0b2fd8 100644
--- a/mount.c
+++ b/mount.c
_AT_@ -253,9 +253,10 @@ main(int argc, char *argv[])
 					target = me->mnt_dir;
 					source = me->mnt_fsname;
 				}
-				if (!fsopts[0])
+				if (!fsopts[0]) {
 					estrlcat(fsopts, me->mnt_opts, sizeof(fsopts));
 					parseopts(fsopts, &flags, data, sizeof(data));
+				}
 				if (!types)
 					types = me->mnt_type;
 				goto mountsingle;
-- 
2.8.3
Received on Mon Jul 11 2016 - 14:27:59 CEST

This archive was generated by hypermail 2.3.0 : Mon Jul 11 2016 - 14:36:29 CEST