aboutsummaryrefslogtreecommitdiff
path: root/scenarios/clean
diff options
context:
space:
mode:
Diffstat (limited to 'scenarios/clean')
-rwxr-xr-xscenarios/clean2
1 files changed, 2 insertions, 0 deletions
diff --git a/scenarios/clean b/scenarios/clean
index 325edec..9d23543 100755
--- a/scenarios/clean
+++ b/scenarios/clean
@@ -4,5 +4,7 @@ import os
from fragments import garage, shared
garage.destroy()
+if len(shared.storage_path) > 8 and shared.id() == 1:
+ shared.exec(f"rm -r {shared.storage_path}")
shared.log("clean done")