Folks,

I have following in my job description:

RunAfterJob = "/usr/local/etc/ChangeTapeStatusToUsed %v"

but when the script is executed it does not get the volume name.

Here is the part of the script.

#!/bin/ksh

if (( $# != 1 ))
then
   print "ERROR: Volume name not specified"
   exit 1
else
   Volume=$1
fi


Here is the error message I get:

08-Nov 16:53 lidp11-dir JobId 2835: AfterJob: ERROR: Volume name not specified  


What am I doing wrong?



Hemant Shah
E-mail: [EMAIL PROTECTED]


      

-------------------------------------------------------------------------
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to