Skip to content

Commit 944ac56

Browse files
author
Hunter T
committed
func: echo exiting...
1 parent 1ba0fbc commit 944ac56

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hardening/root-locker.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ read -rp "We will now disable the root account. Press [Enter] to continue."
3838
echo "Disabling root account..."
3939
passwd -dl root || {
4040
echo -e "\n${red}Failed to lock the root account${nc}"
41+
echo -e "\nExiting..."
4142
exit 1
4243
}
4344

0 commit comments

Comments
 (0)