From 07cd47ff57407ae391459bfce84c61f7a281e54a Mon Sep 17 00:00:00 2001 From: nzbr Date: Sun, 29 Jan 2023 07:02:12 +0100 Subject: Make syschdemd start a login shell and add a test for that --- scripts/syschdemd.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') 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 -- cgit v1.2.3