From ffa3b6f3d20db7d067272a0dc2245d724fbe1598 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Wed, 19 May 2021 10:58:22 +0200 Subject: Fixes #1 segmentation violation with unprivileged user --- pkg/zabbix/workdir.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/zabbix/workdir.go') diff --git a/pkg/zabbix/workdir.go b/pkg/zabbix/workdir.go index 287c80a..eb35942 100644 --- a/pkg/zabbix/workdir.go +++ b/pkg/zabbix/workdir.go @@ -29,7 +29,7 @@ func checkWorkDir() error { workDir = filepath.Join(root, baculaWorkDir) info, err := os.Stat(workDir) if os.IsNotExist(err) || !info.IsDir() { - return fmt.Errorf("Could not find a suitable work directory. Is bareos or bacula installed?") + return fmt.Errorf("Could not autodetect a suitable work directory. Is bareos or bacula installed?") } } } -- cgit v1.2.3