diff options
| author | nzbr <mail@nzbr.de> | 2023-01-29 07:02:12 +0100 |
|---|---|---|
| committer | nzbr <mail@nzbr.de> | 2023-01-29 07:10:03 +0100 |
| commit | 07cd47ff57407ae391459bfce84c61f7a281e54a (patch) | |
| tree | 9853691758bd469128f4d4ea9b4d417759582381 /scripts/syschdemd.sh | |
| parent | 1e53ffbda731b07d1278cb1a49d260e416c209d1 (diff) | |
Make syschdemd start a login shell and add a test for that
Diffstat (limited to 'scripts/syschdemd.sh')
| -rw-r--r-- | scripts/syschdemd.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/syschdemd.sh b/scripts/syschdemd.sh index 19a9ca8..fa0ffe5 100644 --- a/scripts/syschdemd.sh +++ b/scripts/syschdemd.sh @@ -104,9 +104,9 @@ main() { if [ $# -gt 1 ]; then # Ignore just -c without a command # wsl seems to prefix with "-c" shift - command="$*" + command="$(get_shell @username@) -l -c \"$*\"" else - command="$(get_shell @username@)" + command="$(get_shell @username@) -l" fi # If we're executed from inside the container, e.g. sudo |
