From 2d4e63ae32586095bd7e56492946f10cb4b8040f Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 15 Jul 2014 12:46:42 +0200 Subject: Reaktor nag: s/grep/sed/ --- commands/nag | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/nag b/commands/nag index 2b33d5e..7c4fd3c 100755 --- a/commands/nag +++ b/commands/nag @@ -11,13 +11,13 @@ 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 else - (cd nag.hosts && git pull) | grep -v 'Already up-to-date.' + (cd nag.hosts && git pull) | sed '/Already up-to-date/d' fi if ! test -d nag.services; then git clone "$services_repo" nag.services else - (cd nag.services && git pull) | grep -v 'Already up-to-date.' + (cd nag.services && git pull) | sed '/Already up-to-date/d' fi -- cgit v1.2.3