(prompt): Fix test for write-protectedness to also
authorJim Meyering <jim@meyering.net>
Thu, 4 Jul 2002 12:06:49 +0000 (12:06 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 4 Jul 2002 12:06:49 +0000 (12:06 +0000)
commit2afe4a16773fddd77bf60d21cd49d715264d5a1d
tree2831e27ed6762e1ad9965c729d50a5352291761f
parentb645ebf086c5f4a895e21606cd9671adb657942a
(prompt): Fix test for write-protectedness to also
check errno == EACCES.  Otherwise, `rm dangling-symlink' would
mistakenly prompt.
src/remove.c