tags 464989 fixed-upstream pending confirmed patch
thanks

also sprach Raphael Geissert <[EMAIL PROTECTED]> [2008.03.18.0442 +0100]:
> But latest checkbashisms' output (excluding the $RANDOM line):
> > possible bashism in ./usr/sbin/hibernate line 693 (local foo=bar):
> >     local file_name="$1"
> > possible bashism in ./usr/sbin/hibernate line 825 (local foo=bar):
> >     local pid="$1" envvar="$2"

Index: hibernate.sh
===================================================================
--- hibernate.sh        (revision 1173)
+++ hibernate.sh        (working copy)
@@ -700,7 +700,7 @@
 conffiles_read=
 ReadConfigFile() {
     local option params
-    local file_name="$1"
+    local file_name; file_name=="$1"
     
     if [ ! -f "${file_name}" ] ; then
  # Search in /etc/hibernate
@@ -832,7 +832,8 @@
 # processes identified by its PID.
 get_env_var_of_process()
 {
-    local pid="$1" envvar="$2"
+    local pid; pid="$1"
+    local envvar; envvar="$2"
     tr '\0' '\n' </proc/$pid/environ | sed -ne "s/^$envvar=//p"
 }

-- 
 .''`.   martin f. krafft <[EMAIL PROTECTED]>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

Reply via email to