commit 3ef79905274b0f781d0bbc4626aaa8998f162165 parent ed009cfa6bb9052abc2bcf6d24cf3cca5bad279e Author: JayVii <jayvii[AT]posteo[DOT]de> Date: Mon, 11 Jan 2021 16:00:05 +0100 Support different UID Diffstat:
M | sguard/sguard.sh | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sguard/sguard.sh b/sguard/sguard.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash -STATEFILE="/run/user/1000/sguard.state" -ORIGSTATE="/run/user/1000/sguard.orig" +STATEFILE="/run/user/$UID/sguard.state" +ORIGSTATE="/run/user/$UID/sguard.orig" TIMEOUT=60 # supported applications