diff options
author | Daniel Baumann <daniel@debian.org> | 2007-11-14 09:55:50 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 18:22:29 +0100 |
commit | c6236a0794c598d82aa470ca7b358bd1d0986aa1 (patch) | |
tree | 99362671c4e5af013d79e3757022b52b6999c9f5 /helpers/lh_binary_usb-hdd | |
parent | b5dc2031264b83c837451f3c09ab1cbbc4cd6047 (diff) | |
download | vyos-live-build-c6236a0794c598d82aa470ca7b358bd1d0986aa1.tar.gz vyos-live-build-c6236a0794c598d82aa470ca7b358bd1d0986aa1.zip |
Moving lh_losetup into an internal function, avoiding helper failure with return value due to new trap.
Diffstat (limited to 'helpers/lh_binary_usb-hdd')
-rwxr-xr-x | helpers/lh_binary_usb-hdd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/helpers/lh_binary_usb-hdd b/helpers/lh_binary_usb-hdd index 9ac66b883..f4d0945d8 100755 --- a/helpers/lh_binary_usb-hdd +++ b/helpers/lh_binary_usb-hdd @@ -94,7 +94,7 @@ then fi echo "!!! The following error/warning messages can be ignored !!!" -lh_losetup $FREELO chroot/binary.img 0 +Losetup $FREELO chroot/binary.img 0 case "${LH_CHROOT_BUILD}" in enabled) @@ -125,7 +125,7 @@ esac ${LH_LOSETUP} -d ${FREELO} FREELO="$(${LH_LOSETUP} -f)" -lh_losetup $FREELO chroot/binary.img 1 +Losetup $FREELO chroot/binary.img 1 case "${LH_CHROOT_BUILD}" in enabled) |