[package] base-files: fix sysupgrade get_magic_word() function to return proper value...
[openwrt.git] / package / base-files / files / lib / upgrade / common.sh
index 06c257b..ff3012b 100644 (file)
@@ -124,7 +124,7 @@ get_image() { # <source> [ <command> ]
 }
 
 get_magic_word() {
-       get_image "$@" | dd bs=2 count=1 2>/dev/null | hexdump -n 2 -e '1/1 "%02x"'
+       get_image "$@" | dd bs=2 count=1 2>/dev/null | hexdump -v -n 2 -e '1/1 "%02x"'
 }
 
 refresh_mtd_partitions() {
This page took 0.024955 seconds and 4 git commands to generate.