Commit 756637ae authored by Gary Wong's avatar Gary Wong

Fix for "reserve -m" sometimes corrupting existing reservation's timestamps.

parent 6d03ac60
......@@ -253,8 +253,8 @@ else {
$pid = $oldres->pid();
$type = $oldres->type();
$count = $oldres->nodes() unless( defined( $count ) );
$starttime = $oldres->start() unless( defined( $starttime ) );
$endtime = $oldres->end() unless( defined( $endtime ) );
$starttime = $oldres->start() unless( defined( $options{"s"} ) );
$endtime = $oldres->end() unless( defined( $options{"e"} ) );
} else {
usage() if( @ARGV < 2 || !defined( $type ) );
......
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