diff options
author | tv <tv@shackspace.de> | 2014-07-15 12:46:42 +0200 |
---|---|---|
committer | tv <tv@shackspace.de> | 2014-07-15 12:46:42 +0200 |
commit | 2d4e63ae32586095bd7e56492946f10cb4b8040f (patch) | |
tree | bd83bc935cd4e1464d41ec21d8f327c07a5490f7 /commands | |
parent | 67073e97c7abf97503f75d96e2102f8cc45e42a1 (diff) |
Reaktor nag: s/grep/sed/
Diffstat (limited to 'commands')
-rwxr-xr-x | commands/nag | 4 |
1 files 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 |