Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
femnad committed Dec 9, 2023
1 parent 3574483 commit 8eeff3e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
)

const (
version = "0.18.2"
version = "0.18.3"
)

type args struct {
Expand Down
2 changes: 1 addition & 1 deletion provision/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ func persist(s base.Service) error {
// Fix "SELinux is preventing systemd from open access on the file <service-file>" error
restorecon := fmt.Sprintf("/sbin/restorecon %s", serviceFilePath)
internal.Log.Debugf("running restorecon command %s", restorecon)
cmdErr := marecmd.RunNoOutput(marecmd.Input{Command: restorecon, Sudo: true})
_, cmdErr := marecmd.RunFormatError(marecmd.Input{Command: restorecon, Sudo: true})
if cmdErr != nil {
return cmdErr
}
Expand Down
2 changes: 1 addition & 1 deletion provision/useringroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
)

func addUserToGroup(user, group string) error {
internal.Log.Info("Adding user %s to group %s", user, group)
internal.Log.Infof("Adding user %s to group %s", user, group)
usermod := fmt.Sprintf("usermod -aG %s %s", group, user)
_, err := marecmd.RunFormatError(marecmd.Input{Command: usermod, Sudo: true})
if err != nil {
Expand Down

0 comments on commit 8eeff3e

Please sign in to comment.