From 25f1f7ce9dfdd2db7d923c2557de2a11fef12a30 Mon Sep 17 00:00:00 2001 From: mellor Date: Tue, 6 Apr 2010 16:58:05 +0000 Subject: [PATCH] Postscript logging - removed logging from awk scripts that broke postscript processing git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5687 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/postscripts/allowcred.awk | 2 +- xCAT/postscripts/getcredentials.awk | 2 +- xCAT/postscripts/getpostscript.awk | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/xCAT/postscripts/allowcred.awk b/xCAT/postscripts/allowcred.awk index a3d087500..6693f1dd9 100755 --- a/xCAT/postscripts/allowcred.awk +++ b/xCAT/postscripts/allowcred.awk @@ -3,7 +3,7 @@ BEGIN { listener = "/inet/tcp/300/0/0" quit = "no" - print $0 | "logger -t xcat" + print $0 while (match(quit,"no")) { while ((listener |& getline) > 0) { if (match($0,"CREDOKBYYOU?")) { diff --git a/xCAT/postscripts/getcredentials.awk b/xCAT/postscripts/getcredentials.awk index eb556d3ea..781dfc659 100755 --- a/xCAT/postscripts/getcredentials.awk +++ b/xCAT/postscripts/getcredentials.awk @@ -16,7 +16,7 @@ BEGIN { print "" |& server while (server |& getline) { - print $0 | "logger -t xcat" + print $0 if (match($0,"")) { quit = "yes" } diff --git a/xCAT/postscripts/getpostscript.awk b/xCAT/postscripts/getpostscript.awk index e4ac32455..14be03f59 100755 --- a/xCAT/postscripts/getpostscript.awk +++ b/xCAT/postscripts/getpostscript.awk @@ -15,7 +15,7 @@ BEGIN { print "" |& server while (server |& getline) { - print $0 | "logger -t xcat" + print $0 if (match($0,"")) { quit = "yes" }