diff --git a/code/package.lisp b/code/package.lisp
index e46b11c682521890ac16545e65d1b05ee508ed57..2d6f862b42da7e196265c94cca75caed43397222 100644
--- a/code/package.lisp
+++ b/code/package.lisp
@@ -5,7 +5,7 @@
 ;;; Carnegie Mellon University, and has been placed in the public domain.
 ;;;
 (ext:file-comment
-  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/package.lisp,v 1.80 2010/04/20 17:57:45 rtoy Rel $")
+  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/package.lisp,v 1.81 2010/12/26 14:03:48 rtoy Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -1444,8 +1444,8 @@
 	    (remove symbol shadowing-symbols)))
 
     (multiple-value-bind (s w) (find-symbol name package)
-      (declare (ignore s))
-      (cond ((or (eq w :internal) (eq w :external))
+      (cond ((not (eq symbol s)) nil)
+	    ((or (eq w :internal) (eq w :external))
 	     (nuke-symbol (if (eq w :internal)
 			      (package-internal-symbols package)
 			      (package-external-symbols package))