engine: resources: Clarify log message

This way you don't have to remember which way it works.
This commit is contained in:
James Shubin
2024-03-13 17:04:45 -04:00
parent a410b4981f
commit ee60c428b2

View File

@@ -371,7 +371,7 @@ func (obj *ExecRes) CheckApply(ctx context.Context, apply bool) (bool, error) {
}
obj.init.Logf("ifcmd: %s", strings.Join(cmd.Args, " "))
obj.init.Logf("ifcmd exited with: %d", exitStatus)
obj.init.Logf("ifcmd exited with: %d, skipping cmd", exitStatus)
if s := out.String(); s == "" {
obj.init.Logf("ifcmd out empty!")
} else {