patch.sh: Exit on patch apply failure 79/45079/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Mon, 25 Sep 2017 23:16:54 +0000 (01:16 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Fri, 13 Oct 2017 21:42:11 +0000 (21:42 +0000)
commit139aacf390d38b60f4fe4fd618a0bcf6b54b35cf
treeb39c1d19f5b66c94721e21b116aac6daee29f049
parent069c9252e2850ab13a47cc252d1f9e0e410b9305
patch.sh: Exit on patch apply failure

Patches that fail to apply are silently skipped. Since retrying is
not possible, deploy moves on, making the problem hard to observe.

Change-Id: I3fe01cef6b245de53767a660b9b4fdfae0d5d0ff
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
(cherry picked from commit bd0259e7bb5f045a1ba7958d79039848d062aad1)
mcp/patches/patch.sh
mcp/scripts/salt.sh