forked from evertiro/cdm
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
after discussion - use spaces instead of tabs
- Loading branch information
Jakub Klinkovský
committed
Sep 12, 2012
1 parent
277ed46
commit 1bb3691
Showing
3 changed files
with
144 additions
and
144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,5 +1,5 @@ | |||
if [[ "$(tty)" == /dev/tty* ]]; then | if [[ "$(tty)" == /dev/tty* ]]; then | ||
[[ -n "$CDM_SPAWN" ]] && return | [[ -n "$CDM_SPAWN" ]] && return | ||
[[ -z "$DISPLAY$SSH_TTY" ]] && exec cdm | [[ -z "$DISPLAY$SSH_TTY" ]] && exec cdm | ||
fi | fi | ||
|
|