1.0.7a: update for xorgwizard

News, happenings
Post Reply
Message
Author
User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#16 Post by Flash »

I haven't had time to try this, but the last time I shut Puppy down I thought I noticed that there was no delay and the CD tray was open. I only run Puppy from the CD and I've been running Puppy 1.0.7(a) with boot option 4 for testing.

Edit: As usual, I was wrong. Still stops for ~30 seconds at pcmcia even with tray open.
Last edited by Flash on Fri 16 Dec 2005, 13:55, edited 1 time in total.

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#17 Post by GuestToo »

knowing nothing about this other than a quick glance at the code:

Code: Select all

kill -0 $PID 2>/dev/null || break
it seems to me it should break out of the loop if kill succeeds, not if kill fails

should it be?:

Code: Select all

kill -0 $PID 2>/dev/null && break

User avatar
pakt
Posts: 1157
Joined: Sat 04 Jun 2005, 16:54
Location: Sweden

#18 Post by pakt »

GuestToo wrote: should it be?:

Code: Select all

kill -0 $PID 2>/dev/null && break
Yes, that certainly made a difference. Now there is no noticeble delay. :)
Paul

Post Reply