Skip to content

Commit 3b67fb2

Browse files
committed
v-add-user-package fixed error logging
1 parent 5a99774 commit 3b67fb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

func/main.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ is_package_valid() {
138138
fi
139139
if [ ! -e "$pkg_dir/$package.pkg" ]; then
140140
echo "Error: package $package doesn't exist"
141-
log_event "$E_NOTEXIST $EVENT"
141+
log_event "$E_NOTEXIST" "$EVENT"
142142
exit $E_NOTEXIST
143143
fi
144144
}

0 commit comments

Comments
 (0)