Skip to content

Commit 407801d

Browse files
Update install.func (#2690)
1 parent 6bcbc0a commit 407801d

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
@@ -76,7 +76,7 @@ error_handler() {
7676
local command="$2"
7777
local error_message="${RD}[ERROR]${CL} in line ${RD}$line_number${CL}: exit code ${RD}$exit_code${CL}: while executing command ${YW}$command${CL}"
7878
echo -e "\n$error_message"
79-
if [[ "$line_number" -eq 44 ]]; then
79+
if [[ "$line_number" -eq 50 ]]; then
8080
echo -e "The silent function has suppressed the error, run the script with verbose mode enabled, which will provide more detailed output.\n"
8181
post_update_to_api "failed" "No error message, script ran in silent mode"
8282
else

0 commit comments

Comments
 (0)