removed command output

would give the appearance that it hung
This commit is contained in:
Derek Macias 2015-12-15 07:50:23 -07:00
parent bd08953a20
commit fcce244e90
2 changed files with 6 additions and 5 deletions

View File

@ -3,7 +3,7 @@
<!DOCTYPE PLUGIN [ <!DOCTYPE PLUGIN [
<!ENTITY name "NerdPack"> <!ENTITY name "NerdPack">
<!ENTITY author "dmacias72"> <!ENTITY author "dmacias72">
<!ENTITY version "2015.12.15"> <!ENTITY version "2015.12.15a">
<!ENTITY launch "Settings/&name;"> <!ENTITY launch "Settings/&name;">
<!ENTITY gitURL "https://raw.githubusercontent.com/&author;/unRAID-plugins/master"> <!ENTITY gitURL "https://raw.githubusercontent.com/&author;/unRAID-plugins/master">
<!ENTITY pluginURL "&gitURL;/plugins/&name;.plg"> <!ENTITY pluginURL "&gitURL;/plugins/&name;.plg">
@ -17,6 +17,8 @@
<PLUGIN name="&name;" author="&author;" version="&version;" launch="&launch;" pluginURL="&pluginURL;"> <PLUGIN name="&name;" author="&author;" version="&version;" launch="&launch;" pluginURL="&pluginURL;">
<CHANGES> <CHANGES>
###2015.12.15a
- remove command output
###2015.12.15 ###2015.12.15
- minor fixes - minor fixes
###2015.12.14 ###2015.12.14

View File

@ -75,10 +75,9 @@ foreach($pkg_cfg as $pkg_name => $pkg_pref) { //get preferences for each package
} }
if(!empty($pkg_cmd)){ if(!empty($pkg_cmd)){
logger("$pkg_msg $pkg_name package..."); logger("$pkg_msg $pkg_name package...");
usleep(100000); shell_exec($pkg_cmd);
$output = shell_exec($pkg_cmd); //$output = shell_exec($pkg_cmd);
logger($output); //logger($output);
usleep(100000);
}else }else
logger($pkg_name." package up to date"); logger($pkg_name." package up to date");
} }