]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/console/console.c
First cut of bat rerun a Job from Jobs Run
[bacula/bacula] / bacula / src / console / console.c
index 4e0e3f519ba6bd63203f52cb9c7d3b5c3252ad37..04e51abf81eed58a65228689977ad227b3cf12fe 100644 (file)
@@ -324,7 +324,7 @@ static void read_and_process_input(FILE *input, BSOCK *UA_sock)
       if (is_bnet_stop(UA_sock)) {
          break;                       /* error or term */
       } else if (stat == BNET_SIGNAL) {
-         if (UA_sock->msglen == BNET_PROMPT) {
+         if (UA_sock->msglen == BNET_SUB_PROMPT) {
             at_prompt = true;
          }
          Dmsg1(100, "Got poll %s\n", bnet_sig_to_ascii(UA_sock));