From e1fe465b4f542cba46bf11cec991767a56c64143 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20M=E4kinen?= Date: Sat, 15 Jun 2013 13:48:24 +0300 Subject: [PATCH] samba: Fixed typo from sync-netlogon. --- samba/files/sync-netlogon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samba/files/sync-netlogon b/samba/files/sync-netlogon index 8c5c104..84bfc66 100755 --- a/samba/files/sync-netlogon +++ b/samba/files/sync-netlogon @@ -63,7 +63,7 @@ if [ $? -ne 0 ]; then exit 1 fi which restorecon > /dev/null 2>&1 -if [ $# -eq 0 ]; then +if [ $? -eq 0 ]; then restorecon -r ${TARGETDIR} fi