Changeset 41777 for titan/plugins


Ignore:
Timestamp:
Jan 20, 2018, 5:20:17 PM (3 years ago)
Author:
gost
Message:

[plugin] sispmctl... fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/plugins/sispmctl/sispmctl.h

    r41776 r41777  
    606606                free(cmd); cmd = NULL;
    607607        }
    608         if(maxsleep > 0)
     608        if(maxsleep > 0 && flag == 3)
     609        {
     610                cmd =  ostrcat("sleep ", oitoa(maxsleep),0 ,1);
     611                writesys("/mnt/plugin/pe01sispm", cmd, 3);
     612                free(cmd); cmd = NULL;
     613        }
     614        else if(maxsleep > 0)
    609615                sleep(maxsleep);
    610616}
Note: See TracChangeset for help on using the changeset viewer.