Blob Blame History Raw
diff -Naur bacula-13.0.4.old/scripts/isworm bacula-13.0.4/scripts/isworm
--- bacula-13.0.4.old/scripts/isworm	2024-02-14 09:44:45.048000240 +0100
+++ bacula-13.0.4/scripts/isworm	2024-02-14 09:44:45.983016126 +0100
@@ -46,7 +46,7 @@
 #   but it does not work for mhvtl.  Comment out the next 5 lines
 #   and the code that follows will detect correctly on mhtvl.
 #
-worm=`$sdparm --page=0x1D -f $1 |grep " *WORMM"|cut -b12-16|sed "s:^ *::"`
+worm=`$sdparm --page=0x1D -f $1 |grep "WORMM"|cut -b12-16|sed "s:^ *::"`
 if [ $? = 0 ] ; then
    echo $worm
    exit 0