Removes trailing whitespace for bashate

Change-Id: I5b0f2d8a128da887565aac0254a1d342b4ec9dc8
This commit is contained in:
David Stanek
2015-07-30 22:30:44 +00:00
committed by Jesse Pretorius
parent 635bf49db5
commit 5c85bebfe0
2 changed files with 3 additions and 3 deletions

View File

@@ -80,7 +80,7 @@ mysqld_status () {
ps_alive=0
pidfile=`mysqld_get_param pid-file`
if [ -f "$pidfile" ] && ps `cat $pidfile` >/dev/null 2>&1; then ps_alive=1; fi
if [ "$1" = "check_alive" -a $ping_alive = 1 ] ||
[ "$1" = "check_dead" -a $ping_alive = 0 -a $ps_alive = 0 ]; then
return 0 # EXIT_SUCCESS
@@ -164,7 +164,7 @@ case "${1:-''}" in
'restart')
set +e; $SELF stop; set -e
$SELF start
$SELF start
;;
'reload'|'force-reload')

View File

@@ -28,4 +28,4 @@ commands =
bash -c "find {toxinidir} \
-not -path '*/\.*' \ # stay out of the dot directories
-name '*sh' \ # all shell scripts please
-print0 | xargs -0 bashate -v -i E001,E002,E003,E010,E011,E020,E041"
-print0 | xargs -0 bashate -v -i E002,E003,E010,E011,E020,E041"