mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-06-10 13:52:50 -04:00
fix
This commit is contained in:
parent
bd01a68305
commit
e1bae1c68a
2 changed files with 4 additions and 4 deletions
|
@ -7,8 +7,8 @@ set -x
|
|||
set -e
|
||||
set -o pipefail
|
||||
|
||||
if ! printf '%s\n' | wc -l >/dev/null ; then
|
||||
printf "\
|
||||
if ! printf '%s\n' "" | wc -l >/dev/null ; then
|
||||
printf '%s\n' "\
|
||||
$0: ERROR: command 'wc' test failed! Do not ignore this!
|
||||
|
||||
'wc' can core dump. Example:
|
||||
|
|
|
@ -35,8 +35,8 @@ ERROR: Please report this bug." >&2
|
|||
|
||||
trap error_handler ERR
|
||||
|
||||
if ! printf '%s\n' | wc -l >/dev/null ; then
|
||||
printf "\
|
||||
if ! printf '%s\n' "" | wc -l >/dev/null ; then
|
||||
printf '%s\n' "\
|
||||
$0: ERROR: command 'wc' test failed! Do not ignore this!
|
||||
|
||||
'wc' can core dump. Example:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue