Skip to content

Commit 0e63437

Browse files
install.func (#5109)
1 parent 0769320 commit 0e63437

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

misc/install.func

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ error_handler() {
7777
local command="$2"
7878
local error_message="${RD}[ERROR]${CL} in line ${RD}$line_number${CL}: exit code ${RD}$exit_code${CL}: while executing command ${YW}$command${CL}"
7979
echo -e "\n$error_message"
80-
if [[ "$line_number" -eq 50 ]]; then
80+
if [[ "$line_number" -eq 51 ]]; then
8181
echo -e "The silent function has suppressed the error, run the script with verbose mode enabled, which will provide more detailed output.\n"
8282
post_update_to_api "failed" "No error message, script ran in silent mode"
8383
else

0 commit comments

Comments
 (0)