Fixed a bug in the up-down log file check
authorGeorge Milescu <george.milescu@gmail.com>
Mon, 16 Aug 2010 15:25:28 +0000 (17:25 +0200)
committerGeorge Milescu <george.milescu@gmail.com>
Mon, 16 Aug 2010 15:25:28 +0000 (17:25 +0200)
Signed-off-by: George Milescu <george.milescu@gmail.com>
ControlScripts/run_scenario.sh

index 7c204e9..be19a10 100755 (executable)
@@ -257,7 +257,7 @@ scenario_parse() {
        done < $TMP_FILE
        unset IFS
 
-       if ls -lR | grep "\.updown" &> /dev/null; then
+       if ls -lR $SCENARIO_RESULTS_FOLDER | grep "\.updown" &> /dev/null; then
                # There are .updown log files
                echo " *** Parsing peer-conection up/down files"
                if ! ./parse_up_down_log.sh $SCENARIO_RESULTS_FOLDER; then