|
From: | shawn wilson |
Subject: | Re: os-prober invalidates part of the menu management |
Date: | Sun, 22 Nov 2015 15:12:06 -0500 |
On Nov 22, 2015 1:58 PM, "Arbiel (gmx)" <address@hidden> wrote:
>
> Unfortunately, 30_os-prober generates the following code
> ---------------------------
> set timeout_style=menu
> if [ "${timeout}" = 0 ]; then
> set timeout=10
> fi
> ---------------------------
>
> What is the purpose of this code, and shouldn't it be suppressed ?
>
I assume it's to set a sane default if nothing is set. However this might be better done with:
[ -z "${timeout}" ]
Or maybe:
[ "${timeout}" = "" ]
(all untested)
Though, whatever change should use similar logic that are used for other counters variables.
[Prev in Thread] | Current Thread | [Next in Thread] |