Skip to content

Commit da8a01e

Browse files
committed
kickstart: use non-interactively mode for e2fsck
When there is no RTC or battery at RTC e2fsck the superblock creation time is in the future and user confirmation is required. This is not what is needed. The user does not have to confirm anything. Signed-off-by: Anton Midyukov <[email protected]>
1 parent d11d579 commit da8a01e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/kickstart/data/bin/kickstart-sh-storage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ ks_growfs()
575575

576576
case "$fs" in
577577
ext*)
578-
e2fsck -f "$1" && resize2fs "$1" ||
578+
e2fsck -yf "$1" && resize2fs "$1" ||
579579
ret=1
580580
;;
581581
xfs)

0 commit comments

Comments
 (0)