Skip to content
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.
(cherry picked from commit 6d5e27b)
  • Loading branch information...
1 parent d519276 commit 0088dd74a4511b9683ee7b14d8bcb1c007649f41 @wagnerrp wagnerrp committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 mythtv/programs/mythutil/jobutils.cpp
View
6 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 0088dd7

Please sign in to comment.
Something went wrong with that request. Please try again.