diff options
author | EuAndreh <eu@euandre.org> | 2023-03-16 11:41:40 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-03-16 11:41:40 -0300 |
commit | 2376e2963c43381b0696eae6509769c25ae2a1cc (patch) | |
tree | 3ea518fef40a2225fee1fb9bbed95cc338722868 /src | |
parent | scripts/: Consistent spacing between usage and help strings (diff) | |
download | toph-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
Diffstat (limited to 'src')
-rwxr-xr-x | src/infrastructure/scripts/gc.sh | 2 |
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)*" \ |