Skip to content

Commit

Permalink
restart file check problem
Browse files Browse the repository at this point in the history
  • Loading branch information
andresmanelli committed Oct 14, 2014
1 parent b7faae7 commit 4718934
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Scripts/updateRestart
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ echo "PATH: $simupath"

list="$(cd "$simupath" && ls -l tmp.restart.*)"
lastRestartStep="$(echo "$list" | gawk -f AwkFiles/lastStep)"
if [ ! $lastRestartStep ]

if [ ! -f "${simupath}/tmp.restart.${lastRestartStep}" ]
then
echo "Started but no restart.. same as if nothing was found"
rm startedSimuList
Expand Down

0 comments on commit 4718934

Please sign in to comment.