diff --git a/index.ts b/index.ts index 3e7b22a..c2b1ce5 100644 --- a/index.ts +++ b/index.ts @@ -86,7 +86,7 @@ main() { sudo chown -R "$proxy_user_name:$proxy_user_name" "$tmpdir" - (sudo su - $proxy_user_name && { + (sudo su - --shell=/bin/bash $proxy_user_name && { keysadded=0 for filename in "$tmpdir"/*.pub; do if [[ -f $filename ]]; then