diff --git a/sysutils/smart/src/www/diag_smart.php b/sysutils/smart/src/www/diag_smart.php index b43cd2bc6..a4fb4c405 100644 --- a/sysutils/smart/src/www/diag_smart.php +++ b/sysutils/smart/src/www/diag_smart.php @@ -137,6 +137,8 @@ switch($action) { // Get all AD* and DA* (IDE and SCSI) devices currently installed and stores them in the $devs array exec("ls /dev | grep '^\(ad\|da\|ada\)[0-9]\{1,2\}$'", $devs); + + if (count($devs) > 0) { ?>
@@ -302,6 +304,9 @@ switch($action) {