Re: [bug] logger 2.26: regression, option -i not combinable with other options

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Feb 20, 2015 at 11:06:47AM +0100, Juergen Daubert wrote:
> with logger from util-linux 2.25.x it's possible to combine the option
> -i with other options like:
> 
>  logger -is
> 
> with 2.26 I get the following error message:
> 
>  $:~> logger -is
>  logger: failed to parse id: 's'
> 
> The changed behaviour breaks existing scripts like dhcpcd-run-hooks [1]
> from dhcpcd [2].

Hmm... stupid regression, next time it would be probably better to
introduce optional arguments for long options only.

Anyway, always use long options in scripts. It's more robust and more
readable.

    Karel


-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux