Skip to content

Commit

Permalink
Merge pull request #494 from cbosdo/systemctl-fix
Browse files Browse the repository at this point in the history
Fix wrong systemd command
  • Loading branch information
cbosdo authored Nov 13, 2024
2 parents 33f0111 + a964adc commit 81325c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared/podman/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ func DeleteContainer(name string, dryRun bool) {

// GetServiceImage returns the value of the UYUNI_IMAGE variable for a systemd service.
func GetServiceImage(service string) string {
out, err := runCmdOutput(zerolog.DebugLevel, "systemd", "cat", service)
out, err := runCmdOutput(zerolog.DebugLevel, "systemctl", "cat", service)
if err != nil {
log.Warn().Err(err).Msgf(L("failed to get %s systemd service definition"), service)
return ""
Expand Down

0 comments on commit 81325c3

Please sign in to comment.