As some of you may know, I have been successfully adding perl script
to the machine config files.

However, I just noticed that if I add a system command using
backquotes, then I get an error of form:
        dump failed: Can't read PC's config file: Couldn't open 
/etc/BackupPC/pc/mymacine.pl.pl: Bad file descriptor

or of form:
   dump failed: Can't read PC's config file: Couldn't open 
/etc/BackupPC/pc/consult.pl: No such file or directory

However, whether or not the error appears seems to depend on what perl
statements follow the backquoted command. In particular, having a
'print' statement follow or even just a '1;' stops the error. But
having a 'variable = undef' statement causes the error to show.

This seems weird. Any idea what might be going on here?
I assume it must be setting some type of variable or return value or changing
something in the stack that signals that the sourcing of the config script 
failed.

------------------------------------------------------------------------------
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages, 
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev 
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to