From 14480decc77867c27c2eeeb8fca83ec4b78fcaf2 Mon Sep 17 00:00:00 2001 From: Michael Krayer Date: Wed, 11 Oct 2023 11:06:13 +0200 Subject: [PATCH] changed default command: ignores ABDUCO_CMD --- splex.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/splex.c b/splex.c index 22d8486..4e5ccab 100644 --- a/splex.c +++ b/splex.c @@ -598,11 +598,7 @@ int main(int argc, char *argv[]) { bool force = false; char **cmd = NULL, action = '\0'; - char *default_cmd[4] = { "/bin/sh", "-c", getenv("ABDUCO_CMD"), NULL }; - if (!default_cmd[2]) { - default_cmd[0] = ABDUCO_CMD; - default_cmd[1] = NULL; - } + char *default_cmd[2] = { "/bin/bash", NULL }; server.name = basename(argv[0]); gethostname(server.host+1, sizeof(server.host) - 1);