Skip to content

Commit 55e5b0b

Browse files
author
Hunter T
committed
chore: add shellcheck disable comment
1 parent 4cd081f commit 55e5b0b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

hardening/sshd

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)