diff options
author | wayling <waylingII@gmail.com> | 2019-12-12 18:00:15 +0800 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2019-12-13 14:14:34 -0600 |
commit | b9e621e86b2b6e40c6d7b83e7fe6cd110433f498 (patch) | |
tree | afb91d062137471a11af9977166e665332c81548 | |
parent | 953b23aad3577bcf47b0962ebb286b655add58ba (diff) | |
download | toybox-b9e621e86b2b6e40c6d7b83e7fe6cd110433f498.tar.gz |
fix loopback device mount fail
When we "losetup" success need mount loop device.
Found this issue on AndroidQ
-rw-r--r-- | toys/lsb/mount.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/toys/lsb/mount.c b/toys/lsb/mount.c index 296d6864..5bf300db 100644 --- a/toys/lsb/mount.c +++ b/toys/lsb/mount.c @@ -270,6 +270,7 @@ static void mount_filesystem(char *dev, char *dir, char *type, dev = tortoise(1, (char *[]){"losetup", (flags&MS_RDONLY) ? "-fsr" : "-fs", dev, 0}); if (!dev) break; + continue; } free(buf); |