diff --git a/bacula/templates/device.conf.erb b/bacula/templates/device.conf.erb index 631caf0..411d496 100644 --- a/bacula/templates/device.conf.erb +++ b/bacula/templates/device.conf.erb @@ -8,5 +8,5 @@ Device { RemovableMedia = yes; RandomAccess = no; Alert Command = "sh -c 'tapeinfo -f <%= @device %> | grep TapeAlert | cat'" - Alert Command = "sh -c 'smartctl -H -l error <%= @device %>' | cat" + Alert Command = "sh -c 'smartctl -H -l error <%= @device %> | cat'" }