From 86f1b3881ddc0ec27dab7de52c1b6b1de0205685 Mon Sep 17 00:00:00 2001 From: Martin Lund Date: Wed, 8 May 2024 10:31:32 +0200 Subject: [PATCH] Fix shadow variable --- src/tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tty.c b/src/tty.c index 3a3d80a..f999a77 100644 --- a/src/tty.c +++ b/src/tty.c @@ -2279,7 +2279,7 @@ int tty_connect(void) if (option.exec != NULL) { - int status = execute_shell_command(device_fd, option.exec); + status = execute_shell_command(device_fd, option.exec); exit(status); }