Skip to content

Commit 94e8a61

Browse files
author
Hunter T
authored
chore: add shellcheck disable comment
Signed-off-by: Hunter T. <strangeranger01@randomserver.xyz>
1 parent a42ee3e commit 94e8a61

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

hardening/sshd.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ if [[ -f $config_file_bak ]]; then
7474
case "$choice" in
7575
y|yes)
7676
echo "Overwriting backup of 'sshd_config'..."
77+
# shellcheck disable=SC2015
7778
rm $config_file_bak && cp $config_file $config_file_bak || {
7879
echo "${red}Failed to back up sshd_config" >&2
7980
echo "${cyan}Please create a backup of the original 'sshd_config'" \

0 commit comments

Comments
 (0)