Skip to content

Commit 855c6a2

Browse files
committed
Fixed error messages in installer.
1 parent d75f080 commit 855c6a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install/lib/installer_base.lib.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -664,10 +664,10 @@ public function install_ispconfig()
664664

665665
//* Create a ISPConfig user and group
666666
$command = 'groupadd ispconfig';
667-
caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
667+
caselog($command.' &> /dev/null 2> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
668668

669669
$command = "useradd -g ispconfig -d $install_dir ispconfig";
670-
caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
670+
caselog($command.' &> /dev/null 2> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
671671

672672
//* copy the ISPConfig interface part
673673
$command = "cp -rf ../interface $install_dir";

0 commit comments

Comments
 (0)