IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 16, 2005, 6:01:28 AM (21 years ago)
Author:
eugene
Message:

added user scheduler/controller commands, fixed up I/F issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/pantasks/controller_check.c

    r4552 r4573  
    88
    99  if (argc != 3) goto usage;
    10   if (strcasecmp (argv[2], "JOB") &&
    11       strcasecmp (argv[2], "HOST")) goto usage;
     10  if (strcasecmp (argv[1], "JOB") &&
     11      strcasecmp (argv[1], "HOST")) goto usage;
    1212
    1313  /* check if controller is running */
     
    1818  }
    1919
    20   sprintf (command, "check %s %s", argv[2], argv[3]);
     20  sprintf (command, "check %s %s", argv[1], argv[2]);
    2121  InitIOBuffer (&buffer, 0x100);
    2222  status = ControllerCommand (command, CONTROLLER_PROMPT, &buffer);
Note: See TracChangeset for help on using the changeset viewer.