diff --git a/site_ansto/hardsup/sct_asyncqueue.c b/site_ansto/hardsup/sct_asyncqueue.c index 1fec9251..897f162e 100644 --- a/site_ansto/hardsup/sct_asyncqueue.c +++ b/site_ansto/hardsup/sct_asyncqueue.c @@ -324,7 +324,7 @@ static int scaqaAsconInit(Ascon *a, SConnection *pCon, int argc, char *argv[]) for (i = 0; i < argc; ++i) { SCPrintf(pCon, eStatus, "scaqaAsconInit: arg[%d] = %s\n", i, argv[i]); } - if (argc < 1) { + if (argc < 2) { SCPrintf(pCon, eError, "Insufficient arguments to scaqaAsconInit: %d\n", argc); return 0; }