diff --git a/ChangeLog b/ChangeLog
index ad5ba599f15fa1381d92b7714cbc66e44aa26542..2157afb467e623fa12834c4511513f2c6850d60a 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 101745c17c562ab6561b7c9290fa839f3132dd3e..12d8f594652601cbc719da60e6008f180017e46e 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