Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Added validation for protocol field while adding flow"
[controller.git]
/
opendaylight
/
distribution
/
opendaylight
/
src
/
main
/
resources
/
run.sh
diff --git
a/opendaylight/distribution/opendaylight/src/main/resources/run.sh
b/opendaylight/distribution/opendaylight/src/main/resources/run.sh
index 2daa1f42e3da236d9b320bdad504cdf48eb67903..6caf3e3f57c55aa0f3c2d88f70e43dde7de355b8 100755
(executable)
--- a/
opendaylight/distribution/opendaylight/src/main/resources/run.sh
+++ b/
opendaylight/distribution/opendaylight/src/main/resources/run.sh
@@
-44,10
+44,10
@@
function usage {
exit 1
}
exit 1
}
-if [ -v "TMP" ]; then
- pidfile="${TMP}/opendaylight.PID"
-else
+if [ -z ${TMP} ]; then
pidfile="/tmp/opendaylight.PID"
pidfile="/tmp/opendaylight.PID"
+else
+ pidfile="${TMP}/opendaylight.PID"
fi
debug=0
debugsuspend=0
fi
debug=0
debugsuspend=0