Commit 7371b368 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Minor bug fix to previous revision.

parent e3877b94
......@@ -255,7 +255,7 @@ sub Lookup($$;$$)
if ($arg3 !~ /^[-\w]+$/);
# arg1 is pid and arg2 is gid
return undef
if ($arg2 !~ /^[-\w]+$/ || $arg3 !~ /^[-\w]+$/);
if ($arg1 !~ /^[-\w]+$/ || $arg2 !~ /^[-\w]+$/);
$wclause = "pid='$arg1' and gid='$arg2' and lease_id='$arg3'";
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