aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Bachelier <laurent@bachelier.name>2010-12-27 20:46:16 +0100
committerLaurent Bachelier <laurent@bachelier.name>2010-12-27 20:46:16 +0100
commitbf05f17d3766e3ce190e353a7a1997543553d192 (patch)
treeeeef7dd53d3b22cfb3a7c7c74796d6b83e87b6af
parentAdd support for the -t/--tail option (diff)
downloadsymfttpd-bf05f17d3766e3ce190e353a7a1997543553d192.tar.xz
Fixed long option for -s/--single-option
-rwxr-xr-xspawn2
1 files changed, 1 insertions, 1 deletions
diff --git a/spawn b/spawn
index 277cb50..dd6f2b9 100755
--- a/spawn
+++ b/spawn
@@ -26,7 +26,7 @@ $options['log_dir'] = $project_path.'/log/lighttpd';
$options['pidfile'] = $options['config_dir'].'/.sf';
$options['restartfile'] = $options['config_dir'].'/.symfttpd_restart';
$options['tail'] = Argument::get('t', 'tail', false);
-$options['fork'] = !Argument::get('s', '--single-process', false);
+$options['fork'] = !Argument::get('s', 'single-process', false);
if ($options['fork'] && !function_exists('pcntl_fork'))
{
log_message('Warning: No fork() support.'