Skip to content

Commit 3595f34

Browse files
committed
propagate error code from OpenGrok script
1 parent cb98b70 commit 3595f34

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/sync/reindex-project.ksh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,11 @@ function reindex_one
7979
OPENGROK_READ_XML_CONFIGURATION=$config_xml \
8080
$binary_base/OpenGrok \
8181
indexpart "$project_name"
82+
ret=$?
8283

8384
rm -f "$config_xml"
8485

85-
return $?
86+
return $ret
8687
}
8788

8889
if (( $# != 3 )); then

0 commit comments

Comments
 (0)