Skip to content

Commit 65eb29e

Browse files
committed
Modified execAsUser to use bash instead of Bourne shell
1 parent febdd60 commit 65eb29e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setupLibrary.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function execAsUser() {
4141
local username=${1}
4242
local exec_command=${2}
4343

44-
sudo -u "${username}" -H sh -c "${exec_command}"
44+
sudo -u "${username}" -H bash -c "${exec_command}"
4545
}
4646

4747
# Modify the sshd_config file

0 commit comments

Comments
 (0)