Skip to content

Commit 86a01ad

Browse files
committed
Suppress Python error messages "sys.excepthook is missing"
1 parent 9a08484 commit 86a01ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wsprdaemon.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ function check_for_kiwirecorder_cmd() {
232232
get_kiwirecorder="yes"
233233
else
234234
## Check to see if kwr supports overload reporting
235-
if ! ${KIWI_RECORD_COMMAND} --help | grep -q "ADC OV" ; then
235+
if ! ${KIWI_RECORD_COMMAND} --help | grep "ADC OV" > /dev/null 2>&1 ; then
236236
get_kiwirecorder="yes"
237237
echo "Currently installed version of kiwirecorder.py does not support overload reporting, so getting new version"
238238
rm -rf ${KIWI_RECORD_DIR}.old

0 commit comments

Comments
 (0)