diff options
author | Antonio Alvarez Feijoo <antonio.feijoo@suse.com> | 2024-04-05 15:24:40 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2024-04-23 16:15:55 +0200 |
commit | 8ebfef5c96d09bed31a75e1ccba0b63a3cd1a332 (patch) | |
tree | d40819d073858691ac56f70488ef9fe18628595a /src/sysext/sysext.c | |
parent | Merge pull request #32435 from YHNdnzj/followup (diff) | |
download | systemd-8ebfef5c96d09bed31a75e1ccba0b63a3cd1a332.tar.xz systemd-8ebfef5c96d09bed31a75e1ccba0b63a3cd1a332.zip |
sysext: do not return 0 if `unmerge()` fails in the `refresh()` function.
Actually, return the result of `unmerge()` if it is called in the `refresh()`
function.
Fixes 8662fcbcf1f31725998bd1ebe706ac813b053962
Diffstat (limited to '')
-rw-r--r-- | src/sysext/sysext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sysext/sysext.c b/src/sysext/sysext.c index 7c97070546..9248e67127 100644 --- a/src/sysext/sysext.c +++ b/src/sysext/sysext.c @@ -2019,7 +2019,7 @@ static int refresh( * 4. If there was no overlayfs mount so far, and no extensions installed, we implement a NOP. */ - return 0; + return r; } static int verb_refresh(int argc, char **argv, void *userdata) { |