mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 17:50:20 +00:00

If patch file provided for file.patch state is malformed then state returns `Patch was already applied` but patch is not applied. ID: patch_example Function: file.patch Name: /tmp/example Result: True Comment: Patch was already applied Started: 12:20:50.953163 Duration: 61.558 ms Changes: It is better to return error in such case. ID: patch_example Function: file.patch Name: /tmp/example Result: False Comment: /usr/bin/patch: **** malformed patch at line 7: Started: 12:33:44.915605 Duration: 59.202 ms Changes:
68 B
68 B
Return error if patch file passed to state file.patch is malformed.