summaryrefslogtreecommitdiff
path: root/debian/openssh-server.postrm
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2007-12-03 09:19:45 +0000
committerColin Watson <cjwatson@debian.org>2007-12-03 09:19:45 +0000
commita39b28dbafb1a2b52b6795f58ccd7a99ae78974b (patch)
tree151665ed3f3e4e2fff669348801f16a069203bf7 /debian/openssh-server.postrm
parentbc96117352de9ddf202c1bf5d4d0ca02e9322875 (diff)
* Check whether deluser exists in postrm (closes: #454085).
Diffstat (limited to 'debian/openssh-server.postrm')
-rw-r--r--debian/openssh-server.postrm4
1 files changed, 3 insertions, 1 deletions
diff --git a/debian/openssh-server.postrm b/debian/openssh-server.postrm
index f63ba4d46..32471c718 100644
--- a/debian/openssh-server.postrm
+++ b/debian/openssh-server.postrm
@@ -31,7 +31,9 @@ case $1 in
31 31
32 update-rc.d ssh remove >/dev/null 32 update-rc.d ssh remove >/dev/null
33 33
34 deluser --quiet sshd > /dev/null || true 34 if type deluser >/dev/null 2>&1; then
35 deluser --quiet sshd > /dev/null || true
36 fi
35 ;; 37 ;;
36esac 38esac
37 39