mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
installer: Ignore umount errors when target doesn't exist
Some paths might not exist on some systems which caused the installer to abort the installation. This patch makes the installer ignore this condition. Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
committed by
Arne Fitzenreiter
parent
68b5761089
commit
91588cb42a
@@ -188,6 +188,11 @@ int hw_umount(const char* source, const char* prefix) {
|
||||
case EINVAL:
|
||||
r = 0;
|
||||
break;
|
||||
|
||||
// target doesn't exist
|
||||
case ENOENT:
|
||||
r = 0;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user