@@ -757,11 +757,11 @@ static int create_runat_phases (broker_ctx_t *ctx)
757757 /* rc1 - initialization
758758 */
759759 if (rc1 && strlen (rc1 ) > 0 ) {
760- if (runat_push_shell_command (ctx -> runat ,
761- "rc1" ,
762- rc1 ,
763- RUNAT_FLAG_LOG_STDIO ) < 0 ) {
764- log_err ("runat_push_shell_command rc1" );
760+ if (runat_push_command_line (ctx -> runat ,
761+ "rc1" ,
762+ rc1 ,
763+ RUNAT_FLAG_LOG_STDIO ) < 0 ) {
764+ log_err ("runat_push_command_line rc1" );
765765 return -1 ;
766766 }
767767 }
@@ -780,23 +780,23 @@ static int create_runat_phases (broker_ctx_t *ctx)
780780 /* shutdown - clean up in preparation for instance shutdown
781781 */
782782 if (ctx -> rank == 0 && shutdown && strlen (shutdown ) > 0 ) {
783- if (runat_push_shell_command (ctx -> runat ,
784- "shutdown" ,
783+ if (runat_push_command_line (ctx -> runat ,
784+ "shutdown" ,
785785 shutdown ,
786786 RUNAT_FLAG_LOG_STDIO ) < 0 ) {
787- log_err ("runat_push_shell_command shutdown" );
787+ log_err ("runat_push_command_line shutdown" );
788788 return -1 ;
789789 }
790790 }
791791
792792 /* rc3 - finalization
793793 */
794794 if (rc3 && strlen (rc3 ) > 0 ) {
795- if (runat_push_shell_command (ctx -> runat ,
796- "rc3" ,
797- rc3 ,
798- RUNAT_FLAG_LOG_STDIO ) < 0 ) {
799- log_err ("runat_push_shell_command rc3" );
795+ if (runat_push_command_line (ctx -> runat ,
796+ "rc3" ,
797+ rc3 ,
798+ RUNAT_FLAG_LOG_STDIO ) < 0 ) {
799+ log_err ("runat_push_command_line rc3" );
800800 return -1 ;
801801 }
802802 }
0 commit comments