[arch-projects] [INITSCRIPTS][PATCH 1/2] fix syntax error from 71a1b74eb778540d412705b09a24f1d2ba123a2b
Tom Gundersen
teg at jklm.no
Sat Apr 9 22:34:21 EDT 2011
If someone with commit rights sees this, it would be much appreciated
if they could add my
Signed-off-by: Tom Gundersen <teg at jklm.no>
and push this commit.
Cheers,
Tom
On Sun, Apr 10, 2011 at 9:16 AM, Sebastien Luttringer <seblu at seblu.net> wrote:
> Signed-off-by: Sebastien Luttringer <seblu at seblu.net>
> ---
> rc.sysinit | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/rc.sysinit b/rc.sysinit
> index 971d6b0..bfde7a8 100755
> --- a/rc.sysinit
> +++ b/rc.sysinit
> @@ -275,8 +275,8 @@ stat_busy "Mounting Local Filesystems"
>
> # don't touch /etc/mtab if it is a symlink to /proc/self/mounts
> if [[ -L /etc/mtab ]]; then
> - ;
> -elif [[ -x /bin/findmnt -a -e /proc/self/mountinfo ]]; then
> + :
> +elif [[ -x /bin/findmnt && -e /proc/self/mountinfo ]]; then
> /bin/findmnt -rnu -o SOURCE,TARGET,FSTYPE,OPTIONS >| /etc/mtab
> else
> cat /proc/mounts >| /etc/mtab
> --
> Sebastien "Seblu" Luttringer
>
>
More information about the arch-projects
mailing list