From fa95291cbcc16f48430ada0b018749d128ecb305 Mon Sep 17 00:00:00 2001
From: Steven Armstrong <steven@icarus.ethz.ch>
Date: Wed, 2 Nov 2011 16:46:50 +0100
Subject: [PATCH] use diff instad of cmp

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
---
 conf/type/__cron/gencode-remote | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/conf/type/__cron/gencode-remote b/conf/type/__cron/gencode-remote
index 90b53451..947c75ae 100755
--- a/conf/type/__cron/gencode-remote
+++ b/conf/type/__cron/gencode-remote
@@ -20,7 +20,7 @@
 
 user="$(cat "$__object/parameter/user")"
 state_should="$(cat "$__object/parameter/state")"
-state_is=$(cmp --quiet "$__object/parameter/entry" "$__object/explorer/entry" \
+state_is=$(diff -q "$__object/parameter/entry" "$__object/explorer/entry" \
    && echo present \
    || echo absent
 )