Package: waproamd
Version: 0.6-7
Severity: normal

/etc/init.d/waproamd script outputs and error :
line 35: [: too many arguments

This seems to be due to bash's interpretation of "x$@" into "xeth1" "eth2"
(ie. two distinct strings) in the test [ "x$@" != "x" ] of line 35.

This only appears when waproamd is configured to handle two interfaces.

I suppose the "$@" could be replaced by "$*".

Best regards,
Benjamin


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages waproamd depends on:
ii  debconf                     1.4.57       Debian configuration management sy
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libdaemon0                  0.8-1        lightweight C library for daemons

waproamd recommends no packages.

-- debconf information:
* waproamd/hotplug_interfaces:
* waproamd/args: -w
* waproamd/interfaces: eth1 eth2


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to