Skip to content
Commit d21f5cf3 authored by Janne Heß's avatar Janne Heß Committed by Lassulus
Browse files

nixos/nextcloud: Do not run sudo if not needed

Only use sudo if we are currently not running as the nextcloud user.
This is problematic when occ is called from a systemd service with
NoNewPrivileges=true
parent 8582e5a7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment