From 5896ddbd607fe8fa90db7ffc551dc58244cda85b Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 19 Jan 2004 02:52:56 +0000 Subject: fix head -1 #36231 --- fresco-base/fresco-cvs/files/rundemo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fresco-base/fresco-cvs') diff --git a/fresco-base/fresco-cvs/files/rundemo.sh b/fresco-base/fresco-cvs/files/rundemo.sh index ff90d0829a67..899ffc795858 100644 --- a/fresco-base/fresco-cvs/files/rundemo.sh +++ b/fresco-base/fresco-cvs/files/rundemo.sh @@ -12,7 +12,7 @@ echo "Starting up the server..." bin/server -R ior &> ${TMPFILE} & sleep 2 -REF=`head -1 ${TMPFILE} | cut -d " " -f 3` +REF=`head -n 1 ${TMPFILE} | cut -d " " -f 3` rm ${TMPFILE} echo "Starting the demo..." -- cgit v1.2.3-65-gdbad