]> git.ipfire.org Git - pakfire.git/commit
mount: Don't return error in foreach when there are no mountpoints
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 19 Jul 2022 14:29:32 +0000 (14:29 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 19 Jul 2022 14:29:32 +0000 (14:29 +0000)
commitec64a612f87a1371e8777f0088f1497987c7d0bc
tree8db93178dce05a453a76ef5ea2d5a215a5b9b3cf
parent5b25bf0b6aee96a7006c6e762d688a9d38b7408d
mount: Don't return error in foreach when there are no mountpoints

The loop returned 1 by default when there were no mountpoints to process
which is not what we need here.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/mount.c