From 67073e97c7abf97503f75d96e2102f8cc45e42a1 Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 15 Jul 2014 12:42:25 +0200 Subject: Reaktor nag: git pull|grep -v 'Already up-to-date' --- commands/nag | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'commands/nag') diff --git a/commands/nag b/commands/nag index e5380fc..2b33d5e 100755 --- a/commands/nag +++ b/commands/nag @@ -9,15 +9,15 @@ fi trap 'rm -f nag.hosts.ls nag.services.ls nag.patch' EXIT INT QUIT if ! test -d nag.hosts; then - git clone "$hosts_repo" nag.hosts | grep -v 'Alreay up-to-date.' + git clone "$hosts_repo" nag.hosts else - (cd nag.hosts && git pull) + (cd nag.hosts && git pull) | grep -v 'Already up-to-date.' fi if ! test -d nag.services; then - git clone "$services_repo" nag.services | grep -v 'Already up-to-date.' + git clone "$services_repo" nag.services else - (cd nag.services && git pull) + (cd nag.services && git pull) | grep -v 'Already up-to-date.' fi -- cgit v1.2.3