File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 8
8
#
9
9
#
10
10
# IDENTIFICATION
11
- # $Header: /cvsroot/pgsql/src/bin/pg_ctl/Attic/pg_ctl.sh,v 1.26 2002/07/19 13:50:06 momjian Exp $
11
+ # $Header: /cvsroot/pgsql/src/bin/pg_ctl/Attic/pg_ctl.sh,v 1.27 2002/07/19 15:31:42 momjian Exp $
12
12
#
13
13
# -------------------------------------------------------------------------
14
14
@@ -332,12 +332,12 @@ if [ "$op" = "start" -o "$op" = "restart" ];then
332
332
fi
333
333
334
334
if [ -n " $logfile " ]; then
335
- " $po_path " ${1: +" $@ " } < /dev/null >> $logfile 2>&1 &
335
+ " $po_path " ${1+" $@ " } < /dev/null >> $logfile 2>&1 &
336
336
else
337
337
# when starting without log file, redirect stderr to stdout, so
338
338
# pg_ctl can be invoked with >$logfile and still have pg_ctl's
339
339
# stderr on the terminal.
340
- " $po_path " ${1: +" $@ " } < /dev/null 2>&1 &
340
+ " $po_path " ${1+" $@ " } < /dev/null 2>&1 &
341
341
fi
342
342
343
343
# if had an old lockfile, check to see if we were able to start
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
# the next line restarts using wish \
3
- exec wish " $0 " ${1: +" $@ " }
3
+ exec wish " $0 " ${1+" $@ " }
4
4
5
5
image create bitmap dnarw -data {
6
6
# define down_arrow_width 15
Original file line number Diff line number Diff line change @@ -10,4 +10,4 @@ export PGACCESS_HOME
10
10
export PGLIB
11
11
export PGPORT
12
12
13
- exec " ${PATH_TO_WISH} " " ${PGACCESS_HOME} /main.tcl" " $@ "
13
+ exec " ${PATH_TO_WISH} " " ${PGACCESS_HOME} /main.tcl" ${1+ " $@ " }
You can’t perform that action at this time.
0 commit comments