diff options
Diffstat (limited to 'discover/device-handler.c')
-rw-r--r-- | discover/device-handler.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/discover/device-handler.c b/discover/device-handler.c index c72390b..6457dce 100644 --- a/discover/device-handler.c +++ b/discover/device-handler.c @@ -202,6 +202,9 @@ static int mount_device(struct discover_context *ctx) argv[5] = NULL; if (pb_run_cmd(argv)) + argv[3] = NULL; /* try without ro */ + + if (pb_run_cmd(argv)) goto out_rmdir; setup_device_links(ctx); |