Skip to content

Commit 0974675

Browse files
author
James Barnett
committed
consistent error message formatting
1 parent e2ab77b commit 0974675

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/snap-sync

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ while [[ $# -gt 0 ]]; do
4545
exit 1
4646
;;
4747
*)
48-
printf "Error: Unknown option: $key\n"
48+
printf "ERROR: Unknown option: $key\n"
4949
printf "Run 'snap-sync -h' for valid options.\n"
5050
exit 1
5151
;;
@@ -132,7 +132,7 @@ for x in $selected_configs; do
132132
if [[ -f "/etc/snapper/configs/$x" ]]; then
133133
source /etc/snapper/configs/$x
134134
else
135-
printf "Error: Selected snapper configuration $x does not exist.\n"
135+
printf "ERROR: Selected snapper configuration $x does not exist.\n"
136136
exit 1
137137
fi
138138

0 commit comments

Comments
 (0)