mikshaw
Group: Members
Posts: 4856
Joined: July 2004 |
|
Posted: Dec. 24 2005,22:19 |
|
Ok, here's what I did to reproduce the errors in a plain vanilla frugal DSL2.1RC2...
Opened a terminal, and alternately ran the commands "pidof xtdesk" and "icontool.lua". The first time i ran icontool, xtdesk restarted as expected, but each time afterward i received an error from xtdeskRestart.sh. Also, each time there was an additional xtdesk PID. With icontool, I just started the script and then pressed "OK".
Code Sample | dsl@box:~$ pidof xtdesk 868 dsl@box:~$ icontool.lua dsl@box:~$ pidof xtdesk 868 911 dsl@box:~$ icontool.lua /usr/bin/xtdeskRestart.sh: line 2: [: 868: unary operator expected dsl@box:~$ pidof xtdesk 868 911 922 dsl@box:~$ icontool.lua /usr/bin/xtdeskRestart.sh: line 2: [: 911: binary operator expected dsl@box:~$ pidof xtdesk 868 911 922 933 dsl@box:~$ icontool.lua /usr/bin/xtdeskRestart.sh: line 2: [: too many arguments dsl@box:~$ pidof xtdesk 868 911 922 933 944 dsl@box:~$ icontool.lua /usr/bin/xtdeskRestart.sh: line 2: [: too many arguments dsl@box:~$ pidof xtdesk 868 911 922 933 944 955 dsl@box:~$
|
-------------- http://www.tldp.org/LDP/intro-linux/html/index.html
|