Release EXIT signal trap if SSH failed
This commit is contained in:
parent
dae1d0601f
commit
3ad7c1700b
@ -139,6 +139,7 @@ if ! ssh_cmd true; then
|
||||
echo "$remarkable unreachable or you have not set up an ssh key."
|
||||
echo "If you see a 'Permission denied' error, please visit"
|
||||
echo "https://github.com/rien/reStream/#installation for instructions."
|
||||
trap - EXIT
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user