diff options
author | Florian Pritz <bluewind@server-speed.net> | 2011-04-10 10:54:57 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@server-speed.net> | 2011-04-10 10:56:03 +0200 |
commit | 36868162c2e17d348d30954509d5281d6c2c1c03 (patch) | |
tree | 7a4cf2a24fc427814c1b2297fc7c55509acd51fa | |
parent | c18c07a4a08f9277be7120fced7f471d16b141d1 (diff) |
use type to determine if xclip is available
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
-rw-r--r-- | fb.in | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -191,7 +191,7 @@ else fi fi -[ "`which xclip 2>/dev/null`" ] && echo -n $CLIPBOARD | nohup xclip >/dev/null 2>&1 +[ "`type xclip 2>/dev/null`" ] && echo -n $CLIPBOARD | nohup xclip >/dev/null 2>&1 exit $EXITCODE |