From a114cb6edf31ac9c685dee2ded75ff0af18e54c0 Mon Sep 17 00:00:00 2001 From: Valentin Vidic Date: Fri, 13 Sep 2013 11:00:59 +0200 Subject: [PATCH] Support for new openssl versions (RT#140509). --- debian/postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/postinst b/debian/postinst index 97d8ac5..68f0916 100644 --- a/debian/postinst +++ b/debian/postinst @@ -170,7 +170,7 @@ restart_bacula() { } random_string() { - head -n 20 /dev/urandom | openssl dgst -sha1 + head -n 20 /dev/urandom | openssl dgst -sha1 | sed 's/^.* //' } send_mail() { -- 1.7.10.4