We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e68eabd commit 88f2920Copy full SHA for 88f2920
modules/nixos/instaloader/default.nix
@@ -23,7 +23,7 @@ let
23
# Skip password authentication if session file exists
24
if [[ ! -r "${sessionFile}" ]]; then
25
args+=(--login "${cfg.login}")
26
- if [[ ! -r "${cfg.passwordFile}" ]]; then
+ if [[ ! -r "${cfg.passwordFile or ""}" ]]; then
27
echo "Error: Instaloader password file '${cfg.passwordFile}' not found or not readable." >&2
28
exit 1
29
fi
0 commit comments