Hi Vladimir,

On Mon, Jul 23, 2007 at 09:54:44AM +0100, Pádraig Brady wrote:
> From: Vladimir Giszpenc
> 
> Is there any chance the script -q could be changed to not add " Script
> started on %s"?  It would be a lot quieter and it would take only a simple
> 
> If (!qflg)
> 
>        fprintf(fscript, _("Script started on %s"), obuf);
> 
> I would gladly make the change, but there may be political reasons not to
> change it.

 hmm.. do you have any real reason for this change? I think "-q"
 controls output to stdout. The output to scriptfile should be
 independent on the option "-q".

> --The rest of this email is not necessarily a bug. It is at least a
> limitation that should be documented.
> 
> I found a race condition occurs in script between the grandchild process
> actually executing the command (causing the signal to fire when done) and
> the assignment of the child pid as a result of the fork() call.

 Thanks, I'll test it later.

    Karel

-- 
 Karel Zak  <[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to