X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=clients%2Fciscong.pl;h=a2c08954eb00ec5806b9c1dc035801cf3dc6eeb4;hb=de1b28e7de97f6f969c1c02e5b8d22f1eaedbbf9;hp=068ff308e9c5ad7f3730f8c8595b8a5abd30a4e4;hpb=0ad6c333401520caccb37749f6f1ba22a789e83e;p=nms diff --git a/clients/ciscong.pl b/clients/ciscong.pl index 068ff30..a2c0895 100644 --- a/clients/ciscong.pl +++ b/clients/ciscong.pl @@ -210,12 +210,9 @@ sub verify_run { # No answer from zyxel last; } - my $pid = fork(); - if ($pid == 0) { - sleep 100; - system("perl ./ciscong2.pl $switch"); - exit 0; - } + print "Waiting for telnet to time out so we can do run ciscong.pl\n"; + sleep 100; + system("perl ./ciscong2.pl $switch"); last; } last if $p->ping($ip);