dchapyshev / aspia

Remote desktop and file transfer tool.
https://aspia.org
GNU General Public License v3.0
1.56k stars 337 forks source link

router/relay --create-config returns 0 on error #287

Open egorpugin opened 2 months ago

egorpugin commented 2 months ago

It would be nice to return 1 to indicate an error when router or relay cannot --create-config to integrate this step into scripts. So script will stop on error instead of continuing.

Settings file path: "/etc/aspia/router.json"
Settings file already exists. Continuation is impossible.

echo $?
0