Skip to content

Commit a60b5dd

Browse files
committed
Teld: repair command 'park' bug
1 parent e612ac5 commit a60b5dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rts2tel/teld.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2839,7 +2839,7 @@ int Telescope::commandAuthorized (rts2core::Connection * conn)
28392839
if (!conn->paramEnd ())
28402840
return DEVDEM_E_PARAMSNUM;
28412841
modelOn ();
2842-
return startPark (conn);
2842+
return (startPark (conn) >= 0) ? 0 : -1;
28432843
}
28442844
else if (conn->isCommand ("stop"))
28452845
{

0 commit comments

Comments
 (0)