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 8662fcbcf1
This commit is contained in:
Antonio Alvarez Feijoo
2024-04-05 15:24:40 +02:00
committed by Lennart Poettering
parent a4acc2528f
commit 8ebfef5c96

View File

@@ -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) {