1
0
Fork 0

Fixes #1 segmentation violation with unprivileged user

This commit is contained in:
Julien Dessaux 2021-05-19 10:58:22 +02:00
parent 38d9c881b3
commit ffa3b6f3d2
3 changed files with 14 additions and 14 deletions

View file

@ -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?")
}
}
}