Commit e0c96253 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Fix the regex so that it just takes whatever tmcd gives it.

parent 1ecc7196
#!/usr/bin/perl -wT
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2004 University of Utah and the Flux Group.
# Copyright (c) 2000-2005 University of Utah and the Flux Group.
# All rights reserved.
#
use English;
......@@ -74,7 +74,7 @@ my $runcmd;
my $login;
while (<CMD>) {
if ($_ =~ /CMD=\'([-\@\w.\/\+ ]+)\' UID=([0-9a-z]+)/) {
if ($_ =~ /^CMD=\'(.*)\' UID=(.*)$/) {
$runcmd = $1;
$login = $2;
}
......
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