Skip to content

Commit 88f2920

Browse files
committed
feature/instaloader-module: fixed instaloader script
1 parent e68eabd commit 88f2920

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/nixos/instaloader/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ let
2323
# Skip password authentication if session file exists
2424
if [[ ! -r "${sessionFile}" ]]; then
2525
args+=(--login "${cfg.login}")
26-
if [[ ! -r "${cfg.passwordFile}" ]]; then
26+
if [[ ! -r "${cfg.passwordFile or ""}" ]]; then
2727
echo "Error: Instaloader password file '${cfg.passwordFile}' not found or not readable." >&2
2828
exit 1
2929
fi

0 commit comments

Comments
 (0)