summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--target/makedevs/makedevs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/makedevs/makedevs.c b/target/makedevs/makedevs.c
index 8fa3048c4..5ca45e9ae 100644
--- a/target/makedevs/makedevs.c
+++ b/target/makedevs/makedevs.c
@@ -528,7 +528,8 @@ loop:
}
fclose(table);
- system("/bin/sync");
+ if (system("/bin/sync"))
+ bb_error_msg("sync failed, continuing anyway");
return 0;
}