Skip to content

Commit

Permalink
Print description field of fileset resources
Browse files Browse the repository at this point in the history
Fixes #895: Cannot get description in fileset with bconsole
  • Loading branch information
fbergkemper authored and pstorz committed Feb 1, 2018
1 parent da1432f commit e808628
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/dird/dird_conf.c
Expand Up @@ -1933,6 +1933,11 @@ bool FILESETRES::print_config(POOL_MEM &buff, bool hide_sensitive_data, bool ver
Mmsg(temp, "Name = \"%s\"\n", this->name());
indent_config_item(cfg_str, 1, temp.c_str());

if (this->hdr.desc != NULL ) {
Mmsg(temp, "Description = \"%s\"\n", this->hdr.desc);
indent_config_item(cfg_str, 1, temp.c_str());
}

if (num_includes) {
/*
* Loop over all exclude blocks.
Expand Down

0 comments on commit e808628

Please sign in to comment.