[Freeswitch-users] problem exporting variables from shellsctipt not working

Thomas Hoellriegel admin at blindi.net
Sat May 14 02:40:17 MSD 2011


Hi gabriel,
I have written a datecheck.  I like to compare the inputdate to the 
systmdate.

This is my script:
#!/bin/bash
date1=`date -d $1 +%s`
if test $? -ne 0
then
dateerror="yes"
exit 0
fi
exit 0
I can.t export the variable dateerror.
Is the given date wrong, give a yes return.
fs ignore action.
Can you see please what is wrong?
thanks



---------------
Du kannst mich jederzeit kostenlos per Festnetz erreichen unter:
http://www.blindi.net/callback
homepage: http://www.blindi.net
blinde-misc mailingliste für blinde. anmeldung unter:
http://www.blindi.net/mailman/listinfo/blinde-misc


More information about the FreeSWITCH-users mailing list