summaryrefslogtreecommitdiffstats
path: root/package/angularjs/angularjs.hash
diff options
context:
space:
mode:
authorCarlos Santos <casantos@datacom.ind.br>2018-01-30 02:07:18 -0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2018-01-30 22:58:00 +0100
commit3f568fe09948369831c36a713f5a47fe4c2d19b6 (patch)
treeea37ee145185c68fbf28e4ea81d9de693f96536a /package/angularjs/angularjs.hash
parent3595613c14cb01e43b8a77474447170bb95b6cdf (diff)
downloadbuildroot-3f568fe09948369831c36a713f5a47fe4c2d19b6.tar.gz
buildroot-3f568fe09948369831c36a713f5a47fe4c2d19b6.zip
eudev: fix error handling init script
Replace (echo "msg" && exit 1) by { echo "msg"; exit 1; }. The (list) compound command runs in a subshell, so the "exit" interrupts the subshell, not the main script. Examples: $ sh -c "echo 1; (exit 1); echo 2" 1 2 $ sh -c "echo 1; { exit 1; }; echo 2" 1 $ Signed-off-by: Carlos Santos <casantos@datacom.ind.br> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/angularjs/angularjs.hash')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud