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.
usr/libexec/helper-scripts/wc-test.sh
1 parent f78bea5 commit 93152b9Copy full SHA for 93152b9
usr/libexec/helper-scripts/wc-test.sh
@@ -0,0 +1,14 @@
1
+#!/bin/bash
2
+
3
+## Copyright (C) 2012 - 2025 ENCRYPTED SUPPORT LLC <[email protected]>
4
+## See the file COPYING for copying conditions.
5
6
+if ! printf '%s\n' | wc -l >/dev/null ; then
7
+ printf "\
8
+$0: ERROR: command 'wc' test failed! Do not ignore this!
9
10
+'wc' can core dump. Example:
11
+zsh: illegal hardware instruction (core dumped) wc -l
12
+https://github.com/rspamd/rspamd/issues/5137" >&2
13
+ exit 1
14
+fi
0 commit comments