Skip to content

Commit

Permalink
fix(extracting): Silence fsck.erofs errors
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoninoScordino committed Sep 27, 2024
1 parent 130f1ce commit cc07502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extract_and_push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ else

# Try to extract images via 'fsck.erofs'
echo "[INFO] Extracting '$p' via 'fsck.erofs'..."
${HOME}/Firmware_extractor/tools/Linux/bin/fsck.erofs --extract="$p" "$p".img > /dev/null || {
${HOME}/Firmware_extractor/tools/Linux/bin/fsck.erofs --extract="$p" "$p".img >> /dev/null 2>&1 || {
echo "[WARN] Extraction via 'fsck.erofs' failed."

# Uses '7zz' if images could not be extracted via 'fsck.erofs'
Expand Down

0 comments on commit cc07502

Please # to comment.