base-files: upgrade: nand.sh: mute umount error
authorDaniel Golle <daniel@makrotopia.org>
Thu, 25 Jan 2024 03:06:45 +0000 (03:06 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 1 Feb 2024 00:52:54 +0000 (00:52 +0000)
commitefcc100ef0d6953f60c0eaf46fee3239070bcc91
tree115447ccae7cf6c064d92b964a7167fab1e69926
parent7b1c3068b74273af2370e433b3f476b65ddd123c
base-files: upgrade: nand.sh: mute umount error

Send error output of umount to /dev/null to mute error in case
ubiblock device has already been unmounted (which is usually the
case).
Gets rid of bogus error message:
umount: can't unmount /dev/ubiblock0_4: Invalid argument

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
package/base-files/files/lib/upgrade/nand.sh