diff --git a/app/Livewire/Ui/Security/ClamavManager.php b/app/Livewire/Ui/Security/ClamavManager.php index 8b5a584..834ecb4 100644 --- a/app/Livewire/Ui/Security/ClamavManager.php +++ b/app/Livewire/Ui/Security/ClamavManager.php @@ -55,7 +55,7 @@ class ClamavManager extends Component { $this->lastError = ''; $this->lastSuccess = ''; - @exec('sudo -n /usr/local/sbin/mailwolt-clamav enable > /tmp/mw-clamav-start.log 2>&1 &'); + @shell_exec('nohup sudo -n /usr/local/sbin/mailwolt-clamav enable /tmp/mw-clamav-start.log 2>&1 &'); $this->enabled = true; $this->lastSuccess = 'ClamAV wird gestartet… Dies kann bis zu 60 Sekunden dauern. Klicken Sie danach auf „Aktualisieren".'; }