From acbf8d6730854a60bb5ded45bcb50b4dfe26acb2 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Fri, 2 Jun 2017 10:29:52 -0400 Subject: [PATCH] Adjust the fetch plugin function to use the new syntax that brandon just committed upstream (did not work properly anyway with the old syntax) --- src/server/library/sysadm-iocage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/library/sysadm-iocage.cpp b/src/server/library/sysadm-iocage.cpp index 1ea5727..b3a4554 100644 --- a/src/server/library/sysadm-iocage.cpp +++ b/src/server/library/sysadm-iocage.cpp @@ -218,7 +218,7 @@ QJsonObject Iocage::fetchPlugin(QJsonObject inobj){ QString jobprefix = "sysadm_iocage_fetch_plugin_"; plugin = plugin.section(" ",0,0, QString::SectionSkipEmpty); //all valid releases are a single word - do not allow injection of other commands if(cids.contains(jobprefix+plugin) ){ return QJsonObject(); } //this fetch job is already running - DISPATCHER->queueProcess(jobprefix+plugin, "iocage fetch -P "+plugin+" "+inet); + DISPATCHER->queueProcess(jobprefix+plugin, "iocage fetch -P --name "+plugin+" "+inet); retObject.insert("started_dispatcher_id", jobprefix+plugin); return retObject; }