nand-sata-install: fix exit -1 - impossible exit code

Someone wrote ridicilous stuff. There is only one exit code range - [0-255].
There is no negative return codes in Unix shells.
This commit is contained in:
Anton-Latukha 2019-03-02 20:33:52 +02:00
parent fcd95f997e
commit b2075df485

View file

@ -303,7 +303,7 @@ create_armbian()
if [[ $(type -t write_uboot_platform) != function ]]; then
echo "Error: no u-boot package found, exiting"
exit -1
exit 1
fi
write_uboot_platform "$DIR" $emmccheck