|
Bugzilla – Full Text Bug Listing |
| Summary: | syntax error in /etc/init.d/cupsrenice | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE LINUX 10.0 | Reporter: | michel munnix <michel.munnix> |
| Component: | Basesystem | Assignee: | Klaus Singvogel <kssingvo> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Minor | ||
| Priority: | P5 - None | CC: | coolo, felix |
| Version: | RC 1 | ||
| Target Milestone: | --- | ||
| Hardware: | i686 | ||
| OS: | All | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | output of ps -Af at time of the error | ||
|
Description
michel munnix
2005-10-02 17:44:46 UTC
Created attachment 51303 [details]
output of ps -Af at time of the error
The ps -A output at that time was probably like the following:
6261 ? 00:00:00 cupsd
6262 ? 00:00:00 cupsd
Therefore $ppid contained:
6261
6262
So the problem could be solved by changing:
58 if [ x$ppid = x ]; then
59 return
60 fi
to:
58 if [ -z "$ppid" ]; then
59 return
60 fi
Thanks. Sorry for delay, was in vacation. Will work on it as scheduling and time permits. This is not nice, but only lower priority: the script is only called once, when machine boots. --> adjusting. fixed in next version fixed in next version |