Skip to content

Commit 79ea130

Browse files
author
Kristan Kenney
committed
Update code formatting in v-scripts
1 parent 649b4a9 commit 79ea130

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

bin/v-change-sys-service-config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ if [ "$update" = 'yes' ] && [ "$restart" != 'no' ]; then
101101
fi
102102
fi
103103

104-
$BIN/v-restart-service $service $restart >/dev/null 2>&1
104+
$BIN/v-restart-service $service $restart > /dev/null 2>&1
105105

106106
if [ $? -ne 0 ]; then
107107
for config in $dst; do

bin/v-restart-service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ check_args '1' "$#" 'SERVICE'
2929
#----------------------------------------------------------#
3030

3131
if [ "$service" != "iptables" ]; then
32-
systemctl restart $service >/dev/null 2>&1
32+
systemctl restart $service > /dev/null 2>&1
3333
if [ $? -ne 0 ]; then
3434
check_result $E_RESTART "ERROR: Restart of $service failed."
3535
log_history "Restart of $service failed."

bin/v-restart-web

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ if [ -z "$WEB_SYSTEM" ] || [ "$WEB_SYSTEM" = 'remote' ]; then
4949
exit
5050
fi
5151

52+
systemctl restart $WEB_SYSTEM > /dev/null 2>&1
5253

53-
systemctl restart $WEB_SYSTEM >/dev/null 2>&1
5454
if [ $? -ne 0 ]; then
5555
send_email_report
5656
check_result $E_RESTART "$WEB_SYSTEM restart failed"

0 commit comments

Comments
 (0)