
I also get the same error message. I am pretty sure its because gdm has already closed when the init script goes to stop it. You could test this by going to a virtual console (ctrl+alt+f1 etc..) logging in then shutting down the computer manually.blaksaga wrote:When I logout->shutdown in gnome it kicks me out to the gnome graphical login. From there I have to hit system->shutdown and then it still gives and "error stopping gdm" message. Its nothing major just an annoyance...anybody know what's wrong???
Code: Select all
94 if [ "$(ps -A | grep -e "${myservice}")" ]
95 then
96 start-stop-daemon --stop --quiet \
97 --exe ${myexe} &>/dev/null
98
99 retval=$?
100 else
101 retval=1
102 fi
Code: Select all
101 retval=0krissly1 wrote:I have 2 questions for this post. Did the change in line 101 work? I use nano to do my editing. How do you get the line number to display as in your example? Thanks
Code: Select all
nano -n 101 myfile.txt
nano -n doesn't work for me, if I do nano --help I don't even see that switch in the listAmosMutke wrote:krissly1 wrote:I have 2 questions for this post. Did the change in line 101 work? I use nano to do my editing. How do you get the line number to display as in your example? Thanks
Ctrl-C will display the current line number...
even easier yet, if you want to open a file with nano and go directly to a particular line then try this
that will open up myfile.txt and start you on line 101Code: Select all
nano -n 101 myfile.txt
won't that just stop all the return values? in other words, the problem is still there; the error-message just isn't printedCode:Code: Select all
101 retval=0