Skip to content

Commit e393da1

Browse files
chore: improve installation scripts
1 parent b6041a5 commit e393da1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/install.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ get_install_dir() {
104104
fi
105105

106106
# Fall back to user directory
107-
log_info "No write access to $DEFAULT_INSTALL_DIR, using $USER_INSTALL_DIR instead"
107+
# Log to stderr so it doesn't interfere with the return value
108+
log_info "No write access to $DEFAULT_INSTALL_DIR, using $USER_INSTALL_DIR instead" >&2
108109
echo "$USER_INSTALL_DIR"
109110
}
110111

0 commit comments

Comments
 (0)