summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/install.sh b/src/install.sh
index 9777259..e5cdcf2 100644
--- a/src/install.sh
+++ b/src/install.sh
@@ -150,7 +150,7 @@ install_find_pkgs()
printf '%s\n' "${root_key}" \
>"${root}/etc/opkg/keys/$(_usign_fingerprint \
"${root_key}").root"
- if ! fopen "${root}/etc/opkg/keys/temp.cert"; then
+ if ! fopen "${root}/etc/opkg/keys/temp.cert" 'w'; then
return 1
fi
cert_fd=${FD}