Disconnect
3.1.3 Disconnect
DESCRIPTION
Disconnect - Disconnect from a desktop server. If there's no connection, the command does nothing. When the connection gets closed, predefined variables _MACHINE and _DISPLAY are cleared.
SYNOPSIS
disconnect
RETURNS
The command returns 0 (zero) on success or 1 when it fails to disconnect.
EXAMPLES
Disconnect
- Disconnect from the currently connected desktop.