GRMLBASE/91-update-pciids: fix wrong log message
authorMichael Prokop <mika@grml.org>
Sun, 30 Oct 2011 21:14:24 +0000 (22:14 +0100)
committerMichael Prokop <mika@grml.org>
Sun, 30 Oct 2011 21:14:26 +0000 (22:14 +0100)
It's update-pciids and not freshclam of course. :-/

Thanks for catching, Christian Hofstaedtler.

etc/grml/fai/config/scripts/GRMLBASE/91-update-pciids

index 373e00f..7ba4148 100755 (executable)
@@ -15,10 +15,10 @@ set -u
 
 bailout() {
   if [ "${1:-}" = "4" ] ; then
-    echo "Warning: freshclam returned with exit code 4." >&2
+    echo "Warning: update-pciids returned with exit code 4." >&2
 
     # be verbose in logs
-    echo "Warning: freshclam returned with exit code 4."
+    echo "Warning: update-pciids returned with exit code 4."
     echo "-> This indicates that networking inside the chroot did not work"
     echo "   while GRMLBASE/91-update-pciids was running."
     echo "   To address this issue you can either configure /etc/resolv.conf"