]> git.nbdom.net Git - nb.git/commitdiff
bin/owncloud-sync
authorNicolas Boisselier <nicolas.boisselier@gmail.com>
Thu, 8 Sep 2016 18:46:57 +0000 (20:46 +0200)
committerNicolas Boisselier <nicolas.boisselier@gmail.com>
Thu, 8 Sep 2016 18:46:57 +0000 (20:46 +0200)
bin/owncloud-sync

index 540018d45dce833ada730ca0bbd7878ac6fc2b56..66b7f378e553915106578b4ca0eae80d71d7439c 100755 (executable)
@@ -106,7 +106,7 @@ owncloud_sync() {
   fi
 
   trap "rm $lock*" EXIT
-  owncloudcmd -n --non-interactive "$1" "$2" 2>&1 | perl -ne 'print "$1 $2 $3\n" and next if /OCC::(\S+).*?"(.*?)" "(.*?)"/; /err|failed/i and print'
+  owncloudcmd -n --non-interactive "$1" "$2" 2>&1 | perl -ne 'print "$1 $2 $3\n" and next if /OCC::(\S+).*?"(.*?)" "(.*?)"/;'
 
   return 0
 }