]> git.pld-linux.org Git - packages/calamaris.git/commitdiff
- fix chown logic
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 12 Feb 2007 11:59:44 +0000 (11:59 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    calamaris-croniface -> 1.11

calamaris-croniface

index 666af31401e98873fcacad10a3e3dce958640211..6a47f27e3aeba856b04fb5b2d267e58cc8dd918c 100644 (file)
@@ -79,8 +79,8 @@ make_stats() {
                        exit 1
                fi
                call_calamaris "$1" "$ARG" > $3
-               [ -n "$SAVE_OWNER" ] || chown $SAVE_OWNER $3
-               [ -n "$SAVE_PERM" ] || chmod $SAVE_PERM $3
+               [ -n "$SAVE_OWNER" ] && chown $SAVE_OWNER $3
+               [ -n "$SAVE_PERM" ] && chmod $SAVE_PERM $3
        fi
 
        # Generate statistics and send them.
This page took 0.026361 seconds and 4 git commands to generate.