1
0
Fork 0
This commit is contained in:
Pratham Patel 2024-02-06 11:04:33 +05:30
parent 3020367e4b
commit fd7fa7d7e9
Signed by: thefossguy
SSH Key Fingerprint: SHA256:/B3wAg7jnMEBQ2JwkebbS/eXVZANDmqRfnd9QkIhxMI
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ set -xeuf -o pipefail
function enable_ssh_daemon_common() {
if [[ "$(sudo systemctl is-enabled $"1.service")" != 'enabled' ]]; then
if [[ "$(sudo systemctl is-enabled "$1.service")" != 'enabled' ]]; then
sudo systemctl enable --now "$1.service"
fi
}