fix check for OSGi environment in shellscripts - Commit 800c2460 - tigase/_server/server-core
-
fix check for OSGi environment in shellscripts
-
| skipped 205 lines |
206 | 206 | | clear) |
207 | 207 | | echo "Clearing logs" |
208 | 208 | | rm -rf "${TIGASE_HOME}/logs"/*; |
209 | | - | if [ $OSGI ] ; then |
| 209 | + | if [ -n "${OSGI}" ] && ${OSGI} ; then |
210 | 210 | | echo "Clearing osgi cache" |
211 | 211 | | rm -rf "${TIGASE_HOME}/felix-cache"/*; |
212 | 212 | | fi |
| skipped 47 lines |
Page is in error, reload to recover