Fix sending indexer output to /dev/null
This commit is contained in:
parent
587ba5234d
commit
e69ada4ee6
|
@ -33,7 +33,7 @@ foreach my $share ($a->get_all_by_prop(type => 'share')){
|
|||
system('/usr/bin/sudo -u www /usr/bin/php /usr/share/ajaxplorer/cmd.php ' .
|
||||
'-u=RDiin175M40T0cYvXLARpAi+1TsSVkbksEDZ4KvwBuY= '.
|
||||
'-t=e71479ebc4365176d9f09fe957780024 -a=index '.
|
||||
'-r='.$name.' --secure_token='.$id.' --dir=/ --_method=put 2>/dev/null 2>&1');
|
||||
'-r='.$name.' --secure_token='.$id.' --dir=/ --_method=put >/dev/null 2>&1');
|
||||
}
|
||||
# We should now restart OOo to release memory
|
||||
if (-d '/var/service/ooo'){
|
||||
|
|
Loading…
Reference in New Issue