]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/dircmd.c
Fix #1467 about ActionOnPurge with Devices having space
[bacula/bacula] / bacula / src / stored / dircmd.c
index 12b629560bf2def428480e71f69e6f996fb0af72..400647da13eeffa314b86e41f46edccdad314a0c 100644 (file)
@@ -896,6 +896,7 @@ static bool action_on_purge_cmd(JCR *jcr)
       goto done;
    }
    unbash_spaces(volumename.c_str());
+   unbash_spaces(devname.c_str());
 
    /* FIXME: autochanger, drive = 0? how can we avoid that? we only work on
     * files