We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3feaf37 + 89be82c commit a464e5bCopy full SHA for a464e5b
modules/system/checks.nix
@@ -312,8 +312,8 @@ let
312
# some mac devices, notably notebook do not support restartAfterPowerFailure option
313
restartAfterPowerFailureIsSupported = ''
314
if sudo /usr/sbin/systemsetup -getRestartPowerFailure | grep -q "Not supported"; then
315
- printf >&2 "�[1;31merror: restarting after power failure is not supported on your machine�[0m\n" >&2
316
- 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
317
exit 2
318
fi
319
'';
0 commit comments