summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Peck <bpeck@redhat.com>2010-09-24 18:52:02 +1000
committerDan Callaghan <dcallagh@redhat.com>2010-10-26 15:15:38 +1000
commit0d27038ddbb1ed0305b5669875121c46924ee19c (patch)
tree5bfda7a9470fb2aa291ea0caa408615726956ab5
parenta1e967e804d50c002bd1666f602e40fe0c2366c8 (diff)
-rwxr-xr-xTasks/distribution/reservesys/runtest.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tasks/distribution/reservesys/runtest.sh b/Tasks/distribution/reservesys/runtest.sh
index 5752d2c..e6f377d 100755
--- a/Tasks/distribution/reservesys/runtest.sh
+++ b/Tasks/distribution/reservesys/runtest.sh
@@ -106,11 +106,11 @@ cat > $SCRIPT2 <<-EOF
howmany()
{
if [ -n "\$1" ]; then
- read RESPONSE
+ RESPONSE="\$1"
else
echo "How many hours would you like to extend the reservation."
echo " Must be between 1 and 99 "
- RESPONSE="\$1"
+ read RESPONSE
fi
validint "\$RESPONSE" 1 99
echo "Extending reservation time \$RESPONSE"