diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-09-19 14:16:08 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-09-19 14:16:08 +0200 |
commit | 549c548e7cc8f99da37b931b6aa991093f097fd7 (patch) | |
tree | 732b76f19b20a667ccb00119d7a34f8db674fcef /scenarios/clean | |
parent | bd6a1253999e05fb77fe74e51ddfea507b5d7361 (diff) | |
download | mknet-549c548e7cc8f99da37b931b6aa991093f097fd7.tar.gz mknet-549c548e7cc8f99da37b931b6aa991093f097fd7.zip |
Commit WIP
Diffstat (limited to 'scenarios/clean')
-rwxr-xr-x | scenarios/clean | 2 |
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") |