mirror of
https://github.com/Fishwaldo/build.git
synced 2025-06-25 15:48:43 +00:00
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:
parent
fcd95f997e
commit
b2075df485
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue