Blob Blame History Raw
diff -Naur bacula-13.0.1.old/scripts/isworm bacula-13.0.1/scripts/isworm
--- bacula-13.0.1.old/scripts/isworm	2022-08-05 17:13:35.000000000 +0200
+++ bacula-13.0.1/scripts/isworm	2022-11-29 11:04:03.313337376 +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