diff options
author | Karel Zak <kzak@redhat.com> | 2024-04-15 08:59:45 +0200 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2024-04-15 08:59:45 +0200 |
commit | 3bdb9f047e10071fe63d59784aacfa1dbb22c2d1 (patch) | |
tree | a24529d7852760da0a1d3aa85243834789d25ab0 | |
parent | 9ca73bae24a634672591f73f090fb36e56a500fb (diff) | |
parent | 6b316e0c9f1feb61bef3bb14b1356be8fbefcc17 (diff) | |
download | util-linux-3bdb9f047e10071fe63d59784aacfa1dbb22c2d1.tar.gz |
Merge branch 'fix-mnt-update' of https://github.com/gavinhungry/util-linux
* 'fix-mnt-update' of https://github.com/gavinhungry/util-linux:
Fix misplaced else in mnt_update_already_done
-rw-r--r-- | libmount/src/tab_update.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libmount/src/tab_update.c b/libmount/src/tab_update.c index 87512af740..d44d190bc9 100644 --- a/libmount/src/tab_update.c +++ b/libmount/src/tab_update.c @@ -982,9 +982,9 @@ int mnt_update_already_done(struct libmnt_update *upd) if (mnt_optstr_get_missing(fs->user_optstr, upd->fs->user_optstr, NULL) == 0) { upd->missing_options = 1; DBG(UPDATE, ul_debugobj(upd, " missing options detected")); - } - } else - rc = 1; + } else + rc = 1; + } } else if (upd->target) { /* umount */ |