From 04d55483432e26ea5f386db3791e748409676e23 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Tue, 16 Apr 2019 22:43:50 -0400 Subject: install_find_pkgs(): Fix fopen() call --- (limited to 'src') 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} -- cgit v0.9.1