From 716ab67eda191413ce2c25ee23499945b506861f Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Sun, 23 Aug 2009 13:39:45 +0100 Subject: [PATCH] make cmp do what I meant Signed-off-by: Stephen Gran --- ud-replicate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ud-replicate b/ud-replicate index d8b5f4e..86f4c1f 100755 --- a/ud-replicate +++ b/ud-replicate @@ -164,7 +164,7 @@ fi rndc_reload=0 if [ -e /var/lib/misc/thishost/dns-sshfp ]; then - if cmp /var/lib/misc/thishost/dns-sshfp $tempfile; then + if ! cmp -s /var/lib/misc/thishost/dns-sshfp $tempfile; then rndc_reload=1 fi fi -- 2.20.1