Code Review
/
dmaap
/
datarouter.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
datarouter-prov code clean - remove tabs
[dmaap/datarouter.git]
/
datarouter-prov
/
src
/
main
/
resources
/
misc
/
runreports
diff --git
a/datarouter-prov/src/main/resources/misc/runreports
b/datarouter-prov/src/main/resources/misc/runreports
index
f6037f4
..
a5be6d9
100644
(file)
--- a/
datarouter-prov/src/main/resources/misc/runreports
+++ b/
datarouter-prov/src/main/resources/misc/runreports
@@
-37,18
+37,18
@@
ID=`id -n -u`
GRP=`id -n -g`
if [ "$ID" != "datartr" ]
then
GRP=`id -n -g`
if [ "$ID" != "datartr" ]
then
-
echo runreports must be started as user datartr not $ID
-
exit 1
+ echo runreports must be started as user datartr not $ID
+ exit 1
fi
if [ "$GRP" != "datartr" ]
then
fi
if [ "$GRP" != "datartr" ]
then
-
echo runreports must be started as group datartr not $GRP
-
exit 1
+ echo runreports must be started as group datartr not $GRP
+ exit 1
fi
if [ "`pgrep -u mysql mysqld`" = "" ]
then
fi
if [ "`pgrep -u mysql mysqld`" = "" ]
then
-
echo MariaDB is not running. It must be started before runreports
-
exit 1
+ echo MariaDB is not running. It must be started before runreports
+ exit 1
fi
# Volume report
fi
# Volume report