Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7ae3214

Browse files
author
egberts
committed
Update the 'example-usage.sh' script for a working demo
1 parent b500e0d commit 7ae3214

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

‎example-usage.sh‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,12 @@ raw_data="$(cat $ini_filespec)"
1313

1414
ini_settings="$(ini_file_read "$raw_data")"
1515

16-
keyvalue="$(ini_kw_get "$ini_settings" "$section" "$keyword")"
16+
keyvalue="$(ini_keyvalue_get "$ini_settings" "$section" "$keyword")"
17+
retsts=$?
18+
if [ $retsts -ne 0 ]; then
19+
echoerr "Error $retsts in ini_keyvalue_get(); aborted."
20+
exit $retsts
21+
fi
1722

1823
echo "File : $ini_filespec"
1924
echo "Keyword : $keyword"

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /