Skip to content

Commit

Permalink
[APP-5068] fix agent install issue with service file (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
ale7714 authored May 28, 2024
1 parent ee21754 commit 8848c83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions subsystems/viamagent/viamagent.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,8 @@ func getServiceFilePath(logger *zap.SugaredLogger) (string, bool, error) {
if err == nil {
return serviceFilePath, true, nil
}
if errw.Is(err, fs.ErrNotExist) {
// unknown error
if !errw.Is(err, fs.ErrNotExist) {
// unknown error when checking old service file path
return "", false, err
}

Expand Down

0 comments on commit 8848c83

Please sign in to comment.