Package: hinfo
Version: 1.02-2
Severity: important
Tags: patch

The options to su seems now to be positionally important.

# su hinfo -s /bin/sh -c date;echo $?
1

# su -s /bin/sh -c date hinfo;echo $?
Sun Jan 15 11:24:05 CET 2006
0

--- hinfo.~1~   2003-08-27 22:13:50.000000000 +0200
+++ hinfo       2006-01-15 11:08:09.000000000 +0100
@@ -1,4 +1,4 @@
 #!/bin/sh
 if [ -x /usr/sbin/hinfo-update ] ; then
-    su hinfo -s /bin/sh -c '/usr/sbin/hinfo-update -verbose'
+    su -s /bin/sh -c '/usr/sbin/hinfo-update -verbose' hinfo
 fi


Cheers,
Cristian

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.27-2-k7
Locale: LANG=C, LC_CTYPE= (charmap=ANSI_X3.4-1968)

Versions of packages hinfo depends on:
ii  adduser                       3.80       Add and remove users and groups
ii  debconf                       1.4.67     Debian configuration management sy
ii  debianutils                   2.15.2     Miscellaneous utilities specific t
ii  libnet-dns-perl               0.53-2     Perform DNS queries from a Perl sc
ii  perl                          5.8.7-10   Larry Wall's Practical Extraction
ii  ucf                           2.004      Update Configuration File: preserv

Versions of packages hinfo recommends:
ii  wget                          1.10.2-1   retrieves files from the web

-- debconf information:
* hinfo/autoupdateverbose: verbose
* hinfo/autoupdate: weekly


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

Reply via email to