Permalink
Browse files

Fix copy/paste error in mythutils jobutils.

This fixes an error in the job creation options that causes all user
jobs to be created as user job #1, rather than the type actually
selected.
  • Loading branch information...
wagnerrp committed Sep 5, 2012
1 parent 92016b9 commit 6d5e27be30b05d53b1de359a99fbafba77c58399
Showing with 3 additions and 3 deletions.
  1. +3 −3 mythtv/programs/mythutil/jobutils.cpp
@@ -32,11 +32,11 @@ static int QueueJob(const MythUtilCommandLineParser &cmdline)
else if (cmdline.toString("queuejob") == "userjob1")
jobType = JOB_USERJOB1;
else if (cmdline.toString("queuejob") == "userjob2")
- jobType = JOB_USERJOB1;
+ jobType = JOB_USERJOB2;
else if (cmdline.toString("queuejob") == "userjob4")
- jobType = JOB_USERJOB1;
+ jobType = JOB_USERJOB3;
else if (cmdline.toString("queuejob") == "userjob4")
- jobType = JOB_USERJOB1;
+ jobType = JOB_USERJOB4;
else if (cmdline.toInt("queuejob") > 0)
jobType = cmdline.toInt("queuejob");

0 comments on commit 6d5e27b

Please sign in to comment.