Re: [Bacula-users] file inclusion directive - @|sh - causes error
2008-10-08 15:34:07
>>>>> On Wed, 08 Oct 2008 10:44:17 -0400, Guy Matz said:
>
> hey-hey,
> i'm getting the following error when trying to use the "@|" notation to
> include multiple files . . .
>
> Starting bacula-dir: 03-Oct 18:40 bacula-dir: ERROR TERMINATION at lex.c:545
> Config error: Cannot open included config file |: No such file or directory
>
> : line 4, col 3 of file /etc/bacula/bacula-dir.d/job.conf
> @|"sh -c 'cat /etc/bacula/bacula-dir.d/job.d/*.conf'"
>
>
> the content of my job.conf file is the "@|" line above, and the files
> referred to in the @| line do exist.
>
> any thoughts?
Try putting the bar inside the quotes:
@"|sh -c 'cat /etc/bacula/bacula-dir.d/job.d/*.conf'"
__Martin
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|