8000 redirected some noisy debug text to /dev/null · javascriptit/BitSafe@401e0bd · GitHub
[go: up one dir, main page]

Skip to content

Commit 401e0bd

Browse files
committed
redirected some noisy debug text to /dev/null
1 parent 5052fd0 commit 401e0bd

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
#!/bin/bash
22

3+
if [ -z "$1" ] || [ ! -e "$1" ]; then
4+
echo "Example usage: ./check_missing_lines italian.po"
5+
exit 2
6+
fi
7+
38
diff -I "^#:" localization.po $1 | tail -n +30 | egrep "^<" | grep -v "msgstr \"\""

src/chroot_local-includes/usr/sbin/bitsafe-format-storage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ else
103103
fi
104104
prstatus "$( printf "$MSG_FORMAT_MKPART" "$DRIVE" "$PART_BEGIN" "$PART_END" )"
105105
parted /dev/$DRIVE mkpart primary $PART_BEGIN $PART_END || \
106-
critical_error "$MSG_FORMAT_PARTEDERR"
106+
critical_error "$MSG_FORMAT_PARTEDERR" &>/dev/null
107107
PART2_SIZE_BLOCKS=`cat /proc/partitions | grep -w "$DRIVE"2 | egrep -ow "[0-9]{4,15}"`
108108
test -z "$PART2_SIZE_BLOCKS" && critical_error "$MSG_FORMAT_PARTNODEC"
109109

0 commit comments

Comments
 (0)
0