Skip to content

Commit e4a06a9

Browse files
committed
fix unpredicted uucp package on uuls
1 parent f459659 commit e4a06a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/Http/Controllers/SystemController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,15 +212,15 @@ public function getSysStations(){
212212
* @return Json
213213
*/
214214
public function sysGetSpoolList(){
215-
$command = "uustat -a| grep -v uuadm | grep -v sudo | grep -v bash" ;
215+
$command = 'uustat -a| grep -v uuadm | grep -v sudo | grep -v bash | grep -v "\-C"' ;
216216
$output=exec_cli($command) ;
217217
$output = explode("\n", $output);
218218
$spool=[];
219219

220220
for ($i = "0" ; $i < count($output); $i++) {
221221
if(!empty($output[$i])) {
222222
$fields = explode(" ", $output[$i]);
223-
if ( $fields[6] != "uuadmin"){
223+
if ( $fields[6] != "uuadm"){
224224
$count=count($fields);
225225
$emails=array();
226226
$size= 0;

0 commit comments

Comments
 (0)