Toni Van Remortel wrote: > Toni Van Remortel wrote: >> Hi, >> >> I created a script that mounts remote samba shares. On success, it >> returns a nice message (just print in Perl) and exit with code 0. On >> error, is again prints a message and exits with code 1. >> >> But in BackupPC, I see this: >> DumpPreShareCmd returned error status 65280... exiting > > Hmm ... strange error in my script from Net::SSH ...
Found it. Using " " around parameters, is parsed by the shell when testing, but is not parsed when used in eg DumpPreShareCmd. So never use any quotes in BackupPC *Cmd lines! (you all probably knew this) -- Toni Van Remortel [EMAIL PROTECTED] ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ BackupPC-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
