Commit 6738cb76 authored by chrfranke's avatar chrfranke
Browse files

smartctl: Fix option '-q, --quietmode' (ticket #11).

git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@3032 4ea69e1a-61f1-4043-bf83-b5c94c648137
parent f02580c7
......@@ -43,6 +43,9 @@ NOTES FOR FUTURE RELEASES: see TODO file.
<DEVELOPERS: ADDITIONS TO THE CHANGE LOG GO JUST BELOW HERE, PLEASE>
[CF] smartctl: Fix option '-q, --quietmode' (ticket #11).
Regression was introduced with r2807.
[CF] drivedb.h update:
- SAMSUNG SpinPoint F2 EG series
......
......@@ -12,6 +12,7 @@ Summary: smartmontools release 5.40
- configure: New default value for '--with-docdir'.
- Drive database is in a separate source file 'drivedb.h'
which can be downloaded from SVN.
- Fix regression in smartctl option '-q, --quietmode'.
Date 2009-12-09
Summary: smartmontools release 5.39 (UNSTABLE/EXPERIMENTAL)
......
......@@ -3,8 +3,8 @@
*
* Home page of code is: http://smartmontools.sourceforge.net
*
* Copyright (C) 2002-9 Bruce Allen <smartmontools-support@lists.sourceforge.net>
* Copyright (C) 2008-9 Christian Franke <smartmontools-support@lists.sourceforge.net>
* Copyright (C) 2002-10 Bruce Allen <smartmontools-support@lists.sourceforge.net>
* Copyright (C) 2008-10 Christian Franke <smartmontools-support@lists.sourceforge.net>
* Copyright (C) 2000 Michael Cornwell <cornwell@acm.org>
*
* This program is free software; you can redistribute it and/or modify
......@@ -730,7 +730,7 @@ const char * parse_options(int argc, char** argv,
// print output is switchable, then start with the print output
// turned off
if (con->printing_switchable)
con->dont_print = false;
con->dont_print = true;
// error message if user has asked for more than one test
if (testcnt > 1) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment