From 2376e2963c43381b0696eae6509769c25ae2a1cc Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Thu, 16 Mar 2023 11:41:40 -0300 Subject: gc.sh: Do not "sudo -u deployer" since we are already root --- src/infrastructure/scripts/gc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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)*" \ -- cgit v1.2.3