From 6bf83410c923a4fd8a506d26de04ac5fe3c28fe7 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sat, 13 Jun 2015 22:39:34 +0100 Subject: [PATCH] ssh: kill is no longer expensive with tiny atoi --- Applications/util/ssh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Applications/util/ssh.c b/Applications/util/ssh.c index 16b700c8..2617c2f8 100644 --- a/Applications/util/ssh.c +++ b/Applications/util/ssh.c @@ -307,7 +307,6 @@ int main(int argc, char *argval[]) else lastfg = -1; } -#ifdef SSH_EXPENSIVE /* Check for User request to kill a process */ else if (strcmp(cmd, "kill") == 0) { if (arg[0][0] == '-') { @@ -327,6 +326,7 @@ int main(int argc, char *argval[]) perror("kill"); } } +#ifdef SSH_EXPENSIVE else if (strcmp(cmd, "pwd") == 0) { if (getcwd(buf, 128)){ char *ptr=&buf[strlen(buf)]; -- 2.34.1