OK, I did that. Apart from a warning regarding printf it went OK but it did not make a difference to the ctrl+c problem
Console output is below;
brettg@jupiter:~$ gcc -o sigwapper sshfix.c sshfix.c: In function ‘main’: sshfix.c:17: warning: incompatible implicit declaration of built-in function ‘printf’ brettg@jupiter:~$ sudo ./sigwapper /etc/init.d/ssh restart [sudo] password for brettg: father return; brettg@jupiter:~$ * Restarting OpenBSD Secure Shell server sshd [ OK ] brettg@jupiter:~$
OK, I did that. Apart from a warning regarding printf it went OK but it did not make a difference to the ctrl+c problem
Console output is below;
brettg@jupiter:~$ gcc -o sigwapper sshfix.c
sshfix.c: In function ‘main’:
sshfix.c:17: warning: incompatible implicit declaration of built-in function ‘printf’
brettg@jupiter:~$ sudo ./sigwapper /etc/init.d/ssh restart
[sudo] password for brettg:
father return;
brettg@jupiter:~$ * Restarting OpenBSD Secure Shell server sshd [ OK ]
brettg@jupiter:~$