diff options
author | liandro sg <liandrosg@gmail.com> | 2011-05-18 19:42:51 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-05-18 19:42:51 +0200 |
commit | 11eeea6f6c81d69c2c685bb6dafbb8126094ff48 (patch) | |
tree | 9c929bcbd6827f776ca671065cceb63bb4808920 /scripts/build/lb_chroot_hooks | |
parent | ceefa557a9180e2e4192050a1013cd3194f192d9 (diff) | |
download | vyos-live-build-11eeea6f6c81d69c2c685bb6dafbb8126094ff48.tar.gz vyos-live-build-11eeea6f6c81d69c2c685bb6dafbb8126094ff48.zip |
Be more careful with subshells (Closes: #623356).
Diffstat (limited to 'scripts/build/lb_chroot_hooks')
-rwxr-xr-x | scripts/build/lb_chroot_hooks | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/lb_chroot_hooks b/scripts/build/lb_chroot_hooks index 3a1595673..0251b3507 100755 --- a/scripts/build/lb_chroot_hooks +++ b/scripts/build/lb_chroot_hooks @@ -55,7 +55,7 @@ do fi # Executing hook - Chroot chroot "./root/${HOOK}" || ( Echo_error "${HOOK} failed (exit non-zero). You should check for errors."; exit 1 ) + Chroot chroot "./root/${HOOK}" || { Echo_error "${HOOK} failed (exit non-zero). You should check for errors."; exit 1 ;} # Removing hook rm -f chroot/root/"${HOOK}" |