mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
CPlugins: try to fix possible segfault while open shellwindow scripts
Origin commit data
------------------
Branch: ni/coolstream
Commit: f54f1d0805
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-01-02 (Sat, 02 Jan 2016)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -409,7 +409,8 @@ void CPlugins::startScriptPlugin(int number)
|
||||
chmod(script, 0755);
|
||||
if (plugin_list[number].shellwindow)
|
||||
{
|
||||
CShellWindow(script, CShellWindow::VERBOSE | CShellWindow::ACKNOWLEDGE);
|
||||
int res = 0;
|
||||
CShellWindow (script, CShellWindow::VERBOSE | CShellWindow::ACKNOWLEDGE, &res);
|
||||
scriptOutput = "";
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user