Skip to content

Commit 46d3a22

Browse files
committed
feature/fsck: Fix fsck execution
The current fsck options are not portable. Also it is not correct to mix fsck and fs-specific options. Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
1 parent 0354809 commit 46d3a22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/fsck/data/lib/uevent/handlers/040-mountdev

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ handler()
2626

2727
rootdelay_pause
2828

29-
action "Checking filesystem [$MOUNTDEV]:" fsck -t noloop,noswap -Tay "$MOUNTDEV" ||
29+
action "Checking filesystem [$MOUNTDEV]:" fsck -t noloop,noswap -T "$MOUNTDEV" -- -p ||
3030
rc=$?
3131

3232
if [ "$rc" = 0 ] || [ "$rc" = 1 ]; then

0 commit comments

Comments
 (0)