Do not confuse echo and return
Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
@ -29,9 +29,9 @@ getFTLPID() {
|
||||
is_running() {
|
||||
FTL_PID="$(getFTLPID)"
|
||||
if [ "$FTL_PID" -eq "-1" ]; then
|
||||
echo "false"
|
||||
return 1
|
||||
else
|
||||
echo "true"
|
||||
echo 0
|
||||
fi
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user