about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreyDobrovolskyOdessa <andrey.dobrovolsky.odessa@gmail.com>2021-02-09 02:42:09 +0200
committerLeah Neukirchen <leah@vuxu.org>2021-02-20 21:53:20 +0100
commit8577c006cdc97ea378560e2dd7a20ed840cac4f5 (patch)
treeda95972c8df69f708a0b6dd6d7a4f31febd0c765
parent707dc49c57354137ef1aa431c4eb7e8af91c402a (diff)
downloadredo-c-8577c006cdc97ea378560e2dd7a20ed840cac4f5.tar.gz
redo-c-8577c006cdc97ea378560e2dd7a20ed840cac4f5.tar.xz
redo-c-8577c006cdc97ea378560e2dd7a20ed840cac4f5.zip
change fflag testing from ! to < 0
Closes: #10 [via git-merge-pr]
-rw-r--r--redo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/redo.c b/redo.c
index 2a297e9..9b893ae 100644
--- a/redo.c
+++ b/redo.c
@@ -402,7 +402,7 @@ sourcefile(char *target)
 	if (access(targetdep(target), F_OK) == 0)
 		return 0;
 
-	if (!fflag)
+	if (fflag < 0)
 		return access(target, F_OK) == 0;
 
 	return find_dofile(target) == 0;