File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -458,7 +458,7 @@ get_os(){
458458 esac
459459
460460 # # Debian 'testing' /etc/os-release does not contain VERSION_ID.
461- if printf ' %s' " ${distro} " | grep --quiet " /sid" ; then
461+ if printf ' %s' " ${distro} " | grep " /sid" & > /dev/null ; then
462462 debian_testing_or_unstable_detected=1
463463 fi
464464
@@ -812,7 +812,7 @@ range_arg(){
812812
813813
814814if ! command -v stecho & > /dev/null ; then
815- # # Fallback to printf in case stecho is unavailable.
815+ # # Fallback to ' printf' in case ' stecho' is unavailable.
816816 stecho () {
817817 printf " %s\n" " $@ "
818818 }
@@ -890,7 +890,7 @@ log(){
890890 all_log_levels=" warn notice info debug echo null"
891891 # shellcheck disable=SC2154
892892 if printf ' %s' " ${all_log_levels} " | grep -o " .* ${log_level} " \
893- | grep -q " ${log_type} "
893+ | grep " ${log_type} " & > /dev/null
894894 then
895895 case " ${log_type} " in
896896 null)
@@ -902,7 +902,7 @@ log(){
902902 esac
903903 fi
904904
905- sleep 0.1
905+ # sleep 0.1
906906
907907 if test " ${xtrace:- } " = " 1" ; then
908908 set -o xtrace
You can’t perform that action at this time.
0 commit comments