We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33f2814 commit 2b45624Copy full SHA for 2b45624
1 file changed
hardening/root-disabler.sh
@@ -2,14 +2,14 @@
2
#
3
# Disable the root account.
4
5
-# Version: v1.0.1
+# Version: v1.0.2
6
# License: MIT License
7
# Copyright (c) 2020-2022 Hunter T. (StrangeRanger)
8
9
########################################################################################
10
11
-red=$'\033[1;31m'
12
-nc=$'\033[0m'
+red="$(printf '\033[1;31m')"
+nc="$(printf '\033[0m')"
13
14
## Check if the script was executed with root privilege.
15
if [[ $EUID = 0 ]]; then
0 commit comments