Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.os.linux.mandriva    |    Somewhat decent but also getting bloated    |    29,919 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 28,678 of 29,919    |
|    Bit Twister to herman.viaene@invalid.be.invalid    |
|    Re: How to test for session in a script?    |
|    01 Nov 12 11:50:16    |
      From: BitTwister@mouse-potato.com              On Thu, 01 Nov 2012 11:20:34 +0100, herman.viaene@invalid.be.invalid wrote:       >       > Now I wrote in my script       >       > if [ "DISPLAY" == ":0" ];       > then .......       > fi       >       > But apparently nothing is done, so the if condition always evaluates to       > false????       > I'm not experienced in this game, so what's wrong here?              You may want to bookmark http://tldp.org/LDP/abs/html/index.html              For starters you did not precede DISPLAY with a dollar sign.              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca