From d32cc2318ce6cc6fc634ef73b97d0bbebf2feea3 Mon Sep 17 00:00:00 2001
From: intrigeri <intrigeri@boum.org>
Date: Thu, 5 May 2011 09:16:59 +0200
Subject: [PATCH] sys: fix hwinfo (Closes: #625501)

---
 ChangeLog       | 2 ++
 handlers/sys.in | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index ad5ba59..2157afb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -35,6 +35,8 @@ version 0.9.9 -- UNRELEASED
 	 . Fix long rotation.
 	 . Make units clearer (Closes Redmine bug #2737)
 	 . Do arithmetic using bash rather than bc (Closes: #603173)
+	sys:
+	 . Fix hwinfo (Closes: #625501)
 	tar:
 	 . Install by default. (Closes Redmine bug #2907)
     helper changes
diff --git a/handlers/sys.in b/handlers/sys.in
index 101745c..12d8f59 100755
--- a/handlers/sys.in
+++ b/handlers/sys.in
@@ -542,7 +542,7 @@ fi
 #
 
 if [ "$hardware" == "yes" ]; then
-   if [ "dohwinfo" == "yes" ]; then
+   if [ "$dohwinfo" == "yes" ]; then
       if [ -f $hardwarefile ]; then
     rm $hardwarefile
       fi
-- 
GitLab