Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
Zvonimir
ISPConfig 3
Commits
40b9bd13
Commit
40b9bd13
authored
Oct 04, 2012
by
tbrehm
Browse files
Fixed: FS#2449 - Appended \t#domain to cron jobs breaks certain commands
parent
02c2c6b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/plugins-available/cron_plugin.inc.php
View file @
40b9bd13
...
...
@@ -217,10 +217,10 @@ class cron_plugin {
}
if
(
$job
[
'type'
]
==
'chrooted'
)
{
$chr_cron_content
.
=
$command
.
"
\t
#
{
$job
[
'domain'
]
}
\n
"
;
$chr_cron_content
.
=
$command
.
"
#
{
$job
[
'domain'
]
}
\n
"
;
$chr_cmd_count
++
;
}
else
{
$cron_content
.
=
$command
.
"
\t
#
{
$job
[
'domain'
]
}
\n
"
;
$cron_content
.
=
$command
.
"
#
{
$job
[
'domain'
]
}
\n
"
;
$cmd_count
++
;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment