diff options
author | Julien Dessaux | 2021-05-19 10:58:22 +0200 |
---|---|---|
committer | Julien Dessaux | 2021-05-19 10:58:22 +0200 |
commit | ffa3b6f3d20db7d067272a0dc2245d724fbe1598 (patch) | |
tree | 8cc19286ec06bcdaf0f8acbbf723669b3c3fd9f3 /pkg/zabbix/workdir.go | |
parent | Updated for go 1.16 modules (diff) | |
download | bareos-zabbix-check-1.3.tar.gz bareos-zabbix-check-1.3.tar.bz2 bareos-zabbix-check-1.3.zip |
Fixes #1 segmentation violation with unprivileged user1.3
Diffstat (limited to '')
-rw-r--r-- | pkg/zabbix/workdir.go | 2 |
1 files changed, 1 insertions, 1 deletions
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?") } } } |