We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a8d685 commit 1e60236Copy full SHA for 1e60236
initrd/etc/functions
@@ -1130,7 +1130,7 @@ verify_checksums() {
1130
# which are interpreted by whiptail, less, ...
1131
escape_zero "(new) " <"$TMP_TREE_FILE" >"${TMP_TREE_FILE}.user"
1132
escape_zero "(new) " </tmp/tree_output >/tmp/tree_output.user
1133
- diff "${TMP_TREE_FILE}.user" /tmp/tree_output.user | grep -E '^\+\(new\).*$' | sed -r 's/^\+\(new\)/(new)/g' >>/tmp/hash_output
+ diff "${TMP_TREE_FILE}.user" /tmp/tree_output.user 2>/dev/null | grep -E '^\+\(new\).*$' | sed -r 's/^\+\(new\)/(new)/g' >>/tmp/hash_output
1134
rm -f "${TMP_TREE_FILE}.user"
1135
rm -f /tmp/tree_output.user
1136
fi
0 commit comments