]> git.sur5r.net Git - bacula/bacula/commit
Avoid <NULL> string displayed in restore menu
authorEric Bollengier <eric@baculasystems.com>
Tue, 15 Sep 2015 09:11:28 +0000 (11:11 +0200)
committerKern Sibbald <kern@sibbald.com>
Sat, 21 Nov 2015 17:11:30 +0000 (09:11 -0800)
commit5b5b813c291a7a14acb1288705b95f686f3f6714
treef1bf1e1955db57c0e4c1a4a68310d9b1a65b49fa
parent61daef1b4ba123728b637d3c94dcd85ed10fa11f
Avoid <NULL> string displayed in restore menu

do_prompt expects automsg to be set, but we use NULL in various places.

Select parameter to modify (1-13): 13
Automatically selected : bpipe:/@bpipe@/encrypt-bug.jpg:cat 1:cat >/tmp/1
Plugin Restore Options
restore_command:     *None*
Use above plugin configuration? (yes/mod/no): mod
Automatically selected <NULL>: restore_command (Restore command to use)
                       ^^^^^^
bacula/src/dird/ua_select.c