Skip to content
Snippets Groups Projects
Commit 4ab5c935 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

check_smartstatus - update message if sudo smartctl -H fails

parent 3f52b611
No related branches found
No related tags found
No related merge requests found
......@@ -118,7 +118,7 @@ do
if [ $iFound -eq 1 ]; then
sudo smartctl -H $mydevice >/dev/null 2>&1
if [ $? -ne 0 ]; then
ph.abort "SKIP: smartctl was found - but did not respond results. Maybe no sudo permissions or additional parameters required. $( udo smartctl -H $mydevice )"
ph.abort "SKIP: smartctl was found - but did not respond results. Maybe no sudo permissions or additional parameters required. $( sudo smartctl -H $mydevice )"
fi
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment