node-red / linux-installers

Node-RED install scripts for various flavours of Linux
Apache License 2.0
96 stars 63 forks source link

Fix return code error when no-init specified #36

Closed zhan-kunbus closed 1 year ago

zhan-kunbus commented 1 year ago

When the option no-init is specified, the variable INITSET and initset will be set as "n", which is not well handeled by "case $initset", and results "exit 1".

To address this, a case "n" is added and make it be ended with "exit 0"

Signed-off-by: Zhi Han z.han@kunbus.com

linux-foundation-easycla[bot] commented 1 year ago

CLA Signed

The committers listed above are authorized under a signed CLA.

dceejay commented 1 year ago

Thanks