Changeset 77 for trunk/src/plogd.sh
- Timestamp:
- 04/13/10 15:11:52 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/plogd.sh
r75 r77 65 65 system=$(uname) 66 66 case "${system}" in 67 AIX|IRIX64)68 echo " www : no specific posix checking"69 ;;70 *)71 set -o posix72 ;;67 AIX|IRIX64) 68 echo " www : no specific posix checking" 69 ;; 70 *) 71 set -o posix 72 ;; 73 73 esac 74 74 unset system … … 80 80 if [ "${1}" = "" ] 81 81 then 82 echo "${command} : eee : 1st parameter missing" >&283 exit 182 echo "${command} : eee : 1st parameter missing" >&2 83 exit 1 84 84 fi 85 85 # test if a2ps available … … 89 89 if [ ${status} -ne 0 ] 90 90 then 91 echo "${command} : eee : ${tool} unavailable" >&292 exit 491 echo "${command} : eee : ${tool} unavailable" >&2 92 exit 4 93 93 fi 94 94 unset tool … … 102 102 if [ ${tmp} -eq 0 ] 103 103 then 104 if [ "${log}" = "" ]105 then106 echo "${command} : eee : no release of ${IRCAAM_LOG}/${1}.log" >&2107 exit 1108 else109 # printing110 a2ps --print-anyway=1 ${log}111 exit 0112 fi104 if [ "${log}" = "" ] 105 then 106 echo "${command} : eee : no release of ${IRCAAM_LOG}/${1}.log" >&2 107 exit 1 108 else 109 # printing 110 a2ps --print-anyway=1 ${log} 111 exit 0 112 fi 113 113 else 114 exit 1114 exit 1 115 115 fi
Note: See TracChangeset
for help on using the changeset viewer.