Explorar o código

mkimage: consistently redirect std{err,out} to /dev/null with dd(1).

Juan RP %!s(int64=10) %!d(string=hai) anos
pai
achega
391e50f0c2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      mkimage.sh.in

+ 1 - 1
mkimage.sh.in

@@ -198,7 +198,7 @@ odroid-u2)
     dd if=${ROOTFSDIR}/boot/E4412_S.tzsw.signed.bin of=${LOOPDEV} seek=2111 >/dev/null 2>&1
     ;;
 usbarmory)
-    dd if=${ROOTFSDIR}/boot/u-boot.imx of=${LOOPDEV} bs=512 seek=2 conv=fsync
+    dd if=${ROOTFSDIR}/boot/u-boot.imx of=${LOOPDEV} bs=512 seek=2 conv=fsync >/dev/null 2>&1
     ;;
 esac