commit | 90cec050468d973d4bd21d65c28e09d28337259f | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Fri Sep 16 12:27:12 2011 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Fri Sep 16 12:27:12 2011 +0400 |
tree | 1c679e96050d373fc5a0a6919dda441866653db0 | |
parent | 9142950653ef476f2e56dd75ddd17d82783fa180 [diff] |
etc/dists/scripts/set_dns.sh: fix Commit 7ff74dc4c is not that bad except for the fact that grep, unlike sed, exits with code 1 if the pattern is not found. This makes the script error out, which is very unfortunate. Go back to using sed. Note this is not a complete patch revert -- we still achieve what we wanted in commit 7ff74dc4c. Fixes http://bugzilla.openvz.org/1991 Reported-by: Scott Dowdle <dowdle@montanalinux.org> Signed-off-by: Kir Kolyshkin <kir@openvz.org>