replace subshell usage with alternative (#624)

Co-authored-by: nnyyxxxx <nnyyxxxx@users.noreply.github.com>
This commit is contained in:
Nyx 2024-09-22 13:37:42 -04:00 committed by GitHub
parent 83a61a093f
commit 5dc5fb5995
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -112,7 +112,7 @@ setup_samba() {
"$ESCALATION_TOOL" smbpasswd -a "$SAMBA_USER"
# Configure Samba settings
"$ESCALATION_TOOL" sh -c "cat > $SAMBA_CONFIG" <<EOL
"$ESCALATION_TOOL" tee "$SAMBA_CONFIG" > /dev/null <<EOL
[global]
workgroup = WORKGROUP
server string = Samba Server