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); }