add newlines before return

This commit is contained in:
Jörg Thalheim 2024-11-20 09:37:18 +01:00
parent 1b8016259b
commit fc20a8fdf9
3 changed files with 31 additions and 0 deletions

View file

@ -16,6 +16,7 @@ func RuntimeDir() (string, error) {
if !ok {
return "", errors.New("$XDG_RUNTIME_DIR is not set")
}
return rundir, nil
}
@ -53,6 +54,7 @@ func SecureSymlinkChown(symlinkToCheck, expectedTarget string, owner, group int)
if err != nil {
return fmt.Errorf("cannot change owner of '%s' to %d/%d: %w", symlinkToCheck, owner, group, err)
}
return nil
}