diff --git a/usr/libexec/security-misc/remove-system.map b/usr/libexec/security-misc/remove-system.map
index ea33c8b..30fd790 100755
--- a/usr/libexec/security-misc/remove-system.map
+++ b/usr/libexec/security-misc/remove-system.map
@@ -26,9 +26,14 @@ fi
 ## Removes the System.map files as they are only used for debugging or malware.
 for filename in ${system_map_location} ; do
    if [ -f "${filename}" ]; then
-      ## 'shred' with '--verbose' is too chatty. (7 lines)
-      shred --force --zero -u "${filename}"
-      echo "removed '${filename}'"
+      if [ -w "${filename}" ]; then
+         ## 'shred' with '--verbose' is too chatty. (7 lines)
+         shred --force --zero -u "${filename}"
+         echo "removed '${filename}'"
+      else
+         echo "Cannot delete '${filename}' - read-only. For details, see: https://www.kicksecure.com/wiki/security-misc#system_map"
+         exit 0
+      fi
    fi
 done