Skip to content
Snippets Groups Projects
Commit b7fe44be authored by david_williams's avatar david_williams
Browse files

improve daily cleanup scripts

parent 7a36eebd
No related branches found
No related tags found
No related merge requests found
...@@ -30,7 +30,7 @@ function removeIf () ...@@ -30,7 +30,7 @@ function removeIf ()
echo "WARNING: rc: " $rc " could not remove " $foundDirectory; echo "WARNING: rc: " $rc " could not remove " $foundDirectory;
fi fi
return rc; return $rc;
} }
# function that can remove a directory (e.g. via find) but checks to make sure not to remove the last one (or, last 'saveAtLeast') # function that can remove a directory (e.g. via find) but checks to make sure not to remove the last one (or, last 'saveAtLeast')
...@@ -90,6 +90,6 @@ function removeArtifactsDirIf () ...@@ -90,6 +90,6 @@ function removeArtifactsDirIf ()
echo "WARNING: rc: " $rc ". could not remove " $foundDirectory; echo "WARNING: rc: " $rc ". could not remove " $foundDirectory;
fi fi
return rc; return $rc;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment