diff --git a/xCAT/postscripts/getpostscript.awk b/xCAT/postscripts/getpostscript.awk index f58740c5f..9ad06a8ec 100755 --- a/xCAT/postscripts/getpostscript.awk +++ b/xCAT/postscripts/getpostscript.awk @@ -5,13 +5,15 @@ BEGIN { } else { server = "/inet/tcp/0/127.0.0.1/400" } - - + quit = "no" - print "" |& server print " getpostscript" |& server + if ( ARGV[1] ) { + args = sprintf(" %s", ARGV[1]) + print args |& server + } print "" |& server start = 0