7313: Fix sprintf formatter in crunch-job warning message.
authorBrett Smith <brett@curoverse.com>
Wed, 2 Dec 2015 17:54:56 +0000 (12:54 -0500)
committerBrett Smith <brett@curoverse.com>
Wed, 2 Dec 2015 17:54:56 +0000 (12:54 -0500)
Refs #7313.

sdk/cli/bin/crunch-job

index b2c14d5b713dbfaa19c17b5d324ea4c81c1df9b8..fca124726a45a33945914536db4d68adc8639a8c 100755 (executable)
@@ -1191,7 +1191,7 @@ sub reapchildren
   if (!defined $task_success) {
     # task did not indicate one way or the other --> fail
     Log($jobstepid, sprintf(
   if (!defined $task_success) {
     # task did not indicate one way or the other --> fail
     Log($jobstepid, sprintf(
-          "ERROR: Task process exited %d, but never updated its task record to indicate success and record its output.",
+          "ERROR: Task process exited %s, but never updated its task record to indicate success and record its output.",
           exit_status_s($childstatus)));
     $Jobstep->{'arvados_task'}->{success} = 0;
     $Jobstep->{'arvados_task'}->save;
           exit_status_s($childstatus)));
     $Jobstep->{'arvados_task'}->{success} = 0;
     $Jobstep->{'arvados_task'}->save;