diff options
author | Colin Watson <cjwatson@debian.org> | 2006-07-26 23:12:44 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2006-07-26 23:12:44 +0000 |
commit | f6ab110f4ca2c33c44c6d07333ea5f8f1c876cfa (patch) | |
tree | 8834d4c9792fd8c42fe7962f47cafefe050c10c8 /debian | |
parent | 54e556834f9b0c4b9d0f04071735798ca284b79b (diff) |
silence grep output
Diffstat (limited to 'debian')
-rw-r--r-- | debian/openssh-server.postinst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/openssh-server.postinst b/debian/openssh-server.postinst index 1ac6906da..f7240d1cf 100644 --- a/debian/openssh-server.postinst +++ b/debian/openssh-server.postinst | |||
@@ -290,7 +290,7 @@ fix_statoverride() { | |||
290 | } | 290 | } |
291 | 291 | ||
292 | fix_sshd_shell() { | 292 | fix_sshd_shell() { |
293 | if getent passwd sshd | grep ':/bin/false$'; then | 293 | if getent passwd sshd | grep -q ':/bin/false$'; then |
294 | usermod -s /usr/sbin/nologin sshd | 294 | usermod -s /usr/sbin/nologin sshd |
295 | fi | 295 | fi |
296 | } | 296 | } |