summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgnammix <71704832+gnammix@users.noreply.github.com>2025-01-04 14:35:53 +0100
committergnammix <71704832+gnammix@users.noreply.github.com>2025-01-04 14:35:53 +0100
commit89be82cb2b19b6371a786af6eb9effc79babb70f (patch)
tree563cdfac7b92c43e91fb7b3008b38a03ad66edc9
parent3feaf376d75d3d58ebf7e9a4f584d00628548ad9 (diff)
power: quote in string triggered shellcheck SC2016
-rw-r--r--modules/system/checks.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/system/checks.nix b/modules/system/checks.nix
index 91622e5..57ddfd2 100644
--- a/modules/system/checks.nix
+++ b/modules/system/checks.nix
@@ -312,8 +312,8 @@ let
# some mac devices, notably notebook do not support restartAfterPowerFailure option
restartAfterPowerFailureIsSupported = ''
if sudo /usr/sbin/systemsetup -getRestartPowerFailure | grep -q "Not supported"; then
- printf >&2 "�[1;31merror: restarting after power failure is not supported on your machine�[0m\n" >&2
- printf >&2 "Please ensure that `power.restartAfterPowerFailure` is not set.\n" >&2
+ printf >&2 "\e[1;31merror: restarting after power failure is not supported on your machine\e[0m\n" >&2
+ printf >&2 "Please ensure that \`power.restartAfterPowerFailure\` is not set.\n" >&2
exit 2
fi
'';