mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-07-06 16:30:39 +07:00
fix
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user