Roxen.git/
server/
start
Branch:
Tag:
Non-build tags
All tags
No tags
2006-11-15
2006-11-15 16:33:10 by Anders Johansson <anders@roxen.com>
65d89b07e2a06d23f05c88beab76a4d9311d2546 (
7
lines) (+
4
/-
3
)
[
Show
|
Annotate
]
Branch:
4.5
Fixed typo preventing --generations form working. RT
#8470
Rev: server/start:1.227
1:
#!/bin/sh #
-
# $Id: start,v 1.
226
2006/
09/
11
14
:
30
:
37
wellhard
Exp $
+
# $Id: start,v 1.
227
2006/
11
/
15
16
:
33
:
10
anders
Exp $
### If --silent-start is given as the first argument, ### nothing will be printed to stdout by the script.
277:
;; '--generations='*) GENERATIONS=`echo $1 | sed -e 's/--generations=//'`
-
if test "
$GENERATTIONS
" -gt 1; then :; else
+
if test "
$GENERATIONS
" -gt 1; then :; else
echo "Invalid number of log generations: $GENERATIONS" >&2 echo "Using default: 5" >&2 GENERATIONS=5
286:
'--generations') GENERATIONS="$2" shift
-
if test "
$GENERATTIONS
" -gt 1; then :; else
+
if test "
$GENERATIONS
" -gt 1; then :; else
echo "Invalid number of log generations: $GENERATIONS" >&2 echo "Using default: 5" >&2 GENERATIONS=5