Commit 2b54c8e1 authored by Leigh Stoller's avatar Leigh Stoller

Fix shell check when there are multiple execute services.

parent 91d7fc89
......@@ -2001,12 +2001,10 @@ sub GetTicketAuxAux($)
my $stat = "/var/tmp/startup-${count}.status";
#
# Support only sh and csh. Maybe perl later.
# Not sure this check makes a lot of sense.
#
if (! (defined($shell) &&
($shell eq "csh" || $shell eq "sh" ||
$shell eq "/bin/csh" ||
$shell eq "/bin/sh"))) {
$shell =~ /^(\/bin\/)?(csh|sh|bash|tcsh)$/)){
$response =
GeniResponse->Create(GENIRESPONSE_BADARGS,
undef,
......
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