Skip to content

Commit bc2d27e

Browse files
committed
[generate_dump]: fix syntax error
syntax error introduced in commit 22d79f3 Signed-off-by: Guohan Lu <[email protected]>
1 parent 2cbeccb commit bc2d27e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scripts/generate_dump

+4-4
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ save_bcmcmd() {
8282
fi
8383
fi
8484
fi
85-
if $do_gzip
85+
if $do_gzip; then
8686
gzip ${filepath} 2>/dev/null
8787
tarpath="${tarpath}.gz"
8888
filepath="${filepath}.gz"
@@ -302,7 +302,7 @@ save_bridge() {
302302
}
303303

304304
###############################################################################
305-
# Dump the bridge L2 information
305+
# Dump the bridge L2 information
306306
# Globals:
307307
# None
308308
# Arguments:
@@ -509,8 +509,8 @@ save_proc() {
509509
###############################################################################
510510
# Dumps all fields and values from given Redis DB.
511511
# Arguments:
512-
# DB name: DB name
513-
# Filename: Destination filename, if not given then filename would be DB name
512+
# DB name: DB name
513+
# Filename: Destination filename, if not given then filename would be DB name
514514
# Returns:
515515
# None
516516
###############################################################################

0 commit comments

Comments
 (0)