Commit 39f305ed authored by Mike Hibler's avatar Mike Hibler

Print a slightly less obscure error message when the capture has died and

there is no .pid file.  It was printing:
        Insecure dependency in kill while running with -T switch
        at /usr/testbed/sbin/console_setup.proxy line 130
parent 1161def4
......@@ -2,7 +2,7 @@
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# Copyright (c) 2000-2002, 2004 University of Utah and the Flux Group.
# All rights reserved.
#
......@@ -122,6 +122,8 @@ foreach my $tipname ( keys %tipgroup ) {
# any attached tip, and reopen the run file.
#
$procid = `cat ${tipname}.pid`;
die("Error obtaining pid for $tipname\n")
if ($?);
$procid =~ s/\n//;
# untaint
if ($procid =~ /^([-\@\w.]+)$/) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment