summaryrefslogtreecommitdiff
path: root/src/binder.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/binder.go')
-rw-r--r--src/binder.go3
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"))
}
}
}