aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-03-16 11:41:40 -0300
committerEuAndreh <eu@euandre.org>2023-03-16 11:41:40 -0300
commit2376e2963c43381b0696eae6509769c25ae2a1cc (patch)
tree3ea518fef40a2225fee1fb9bbed95cc338722868
parentscripts/: Consistent spacing between usage and help strings (diff)
downloadtoph-2376e2963c43381b0696eae6509769c25ae2a1cc.tar.gz
toph-2376e2963c43381b0696eae6509769c25ae2a1cc.tar.xz
gc.sh: Do not "sudo -u deployer" since we are already root
Notes
See CI logs with: git notes --ref=refs/notes/ci-logs show 2376e2963c43381b0696eae6509769c25ae2a1cc git notes --ref=refs/notes/ci-data show 2376e2963c43381b0696eae6509769c25ae2a1cc Exit status: 0 Duration: 22
-rwxr-xr-xsrc/infrastructure/scripts/gc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/infrastructure/scripts/gc.sh b/src/infrastructure/scripts/gc.sh
index 0eca4be..c642627 100755
--- a/src/infrastructure/scripts/gc.sh
+++ b/src/infrastructure/scripts/gc.sh
@@ -96,7 +96,7 @@ gc_guix() {
}
gc_deploy() {
- sudo -u deployer find /opt/deploy \
+ find /opt/deploy \
! -path /opt/deploy -prune \
-type d \
-not -name "$(today)*" \