]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/dircmd.c
Little fixes for the action_on_purge command
[bacula/bacula] / bacula / src / stored / dircmd.c
index c7d564c6ecc8ca1879a4b1168f8f383e80fe21f8..042a4ea3d762fb96854df6efdfd3e5bbcfe63fa2 100644 (file)
@@ -887,9 +887,9 @@ static bool action_on_purge_cmd(JCR *jcr)
    int drive;
    int action;
 
-   if (sscanf(dir->msg, "action_on_purge_cmd %127s vol=%s action=%d",
+   if (sscanf(dir->msg, "action_on_purge %127s vol=%s action=%d",
               devname.c_str(), volumename.c_str(), &action) != 3) {
-      dir->fsend(_("3916 Error scanning action_on_purge_cmd command\n"));
+      dir->fsend(_("3916 Error scanning action_on_purge command\n"));
       goto done;
    }