Skip to content

Commit 685831b

Browse files
committed
shellcheck
1 parent 2659d3c commit 685831b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

usr/libexec/helper-scripts/wc-test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
## Copyright (C) 2012 - 2025 ENCRYPTED SUPPORT LLC <adrelanos@whonix.org>
44
## See the file COPYING for copying conditions.
55

6-
if ! printf '%s\n' | wc -l >/dev/null ; then
7-
printf "\
6+
if ! printf '%s\n' "" | wc -l >/dev/null ; then
7+
printf '%s\n' "\
88
$0: ERROR: command 'wc' test failed! Do not ignore this!
99
1010
'wc' can core dump. Example:

0 commit comments

Comments
 (0)