Description:
------------
The error message generated when the fileset parameter of the
restore command is invalid is misleading.
*restore fileset= where=/tmp select all done yes
FileSet argument: Volume name must be at least one character long.
^^^^^^^
* Check if Bacula Resoure Name is valid
*/
/*
- * Check if the Volume name has legal characters
+ * Check if the Volume/resource name has legal characters
* If ua is non-NULL send the message
*/
bool is_name_valid(const char *name, POOLMEM **msg, const char *accept)
}
if (len == 0) {
if (msg) {
- Mmsg(msg, _("Volume name must be at least one character long.\n"));
+ Mmsg(msg, _("Name must be at least one character long.\n"));
}
return false;
}