Blob Blame History Raw
diff -Naur bacula-community-Release-13.0.4.old/bacula/scripts/isworm bacula-community-Release-13.0.4/bacula/scripts/isworm
--- bacula-community-Release-13.0.4.old/bacula/scripts/isworm	2024-02-14 09:29:27.709397420 +0100
+++ bacula-community-Release-13.0.4/bacula/scripts/isworm	2024-02-14 09:29:39.547598966 +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