From 4b649d8efffd5aa1a462c04d44be507e9fa7662a Mon Sep 17 00:00:00 2001 From: "Leigh B. Stoller" Date: Mon, 30 Jul 2007 16:26:02 +0000 Subject: [PATCH] Make sure that exit status tells the web interface that linux linkdelays cannot be controlled, so that user sees the error. --- utils/delay_config.in | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/utils/delay_config.in b/utils/delay_config.in index 48f8d0b11..0daaee290 100644 --- a/utils/delay_config.in +++ b/utils/delay_config.in @@ -2,7 +2,7 @@ # # EMULAB-COPYRIGHT -# Copyright (c) 2000-2006 University of Utah and the Flux Group. +# Copyright (c) 2000-2007 University of Utah and the Flux Group. # All rights reserved. # @@ -496,8 +496,10 @@ sub ChangeLinkDelayConfig() { my $OS = $row->{'OS'}; if ($OS eq "Linux") { - die("*** $0:\n". - " Oops, dynamic events do not yet work on Linux!\n"); + print STDERR + "*** $0:\n". + " Oops, dynamic events do not yet work on Linux!\n"; + exit(2); } } -- GitLab