diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-04-14 15:59:25 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-04-14 15:59:25 +0200 |
commit | 5971e20aa07d285944fa9668002ed00e0c56f944 (patch) | |
tree | bc283d5f09d29217945d3fcec38a735fe3f71c50 | |
parent | pkgs/{lm,ll}: Don't leak bash options in shell context (diff) | |
download | nixos-config-5971e20aa07d285944fa9668002ed00e0c56f944.zip |
pkgs/fupdate-sys: Correctly print colour sequences
Diffstat (limited to '')
-rwxr-xr-x | pkgs/by-name/fu/fupdate-sys/fupdate-sys.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/by-name/fu/fupdate-sys/fupdate-sys.sh b/pkgs/by-name/fu/fupdate-sys/fupdate-sys.sh index 6f8ce313..435c45a8 100755 --- a/pkgs/by-name/fu/fupdate-sys/fupdate-sys.sh +++ b/pkgs/by-name/fu/fupdate-sys/fupdate-sys.sh @@ -13,10 +13,12 @@ die() { fi } print() { - printf "%s" "$*" + # shellcheck disable=SC2059 + printf "$*" } println() { - printf "%s\n" "$*" + # shellcheck disable=SC2059 + printf "$*\n" } eprint() { >&2 print "$@" |