diff options
author | EuAndreh <eu@euandre.org> | 2025-05-29 03:36:27 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2025-05-29 05:43:17 -0300 |
commit | a45f1e444f6f053635315c8f6fad6ad465f8b0dc (patch) | |
tree | 157c54f187ee7bea7721d40abe8b959c2a8993ea /src/binder.go | |
parent | meta.capim: Add with :dependencies key (diff) | |
download | binder-main.tar.gz binder-main.tar.xz |
Diffstat (limited to '')
-rw-r--r-- | src/binder.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/binder.go b/src/binder.go index b693b32..6bad852 100644 --- a/src/binder.go +++ b/src/binder.go @@ -11,6 +11,7 @@ import ( "syscall" g "gobang" + gt "gotext" ) @@ -62,7 +63,7 @@ func dropRoot() { if isRunningAsRoot() { dropPrivileges(_USER) if isRunningAsRoot() { - panic("Failed to drop privileges") + panic(gt.Gettext("Failed to drop privileges")) } } } |