Fix thinko (inverted test).

This commit is contained in:
Rob Landley 2006-11-19 20:35:05 -05:00
parent 2a813ffadf
commit 4541e88156

View File

@ -77,7 +77,7 @@ int df_main(void)
struct stat st;
// Stat it (complain if we can't).
if(!stat(*next, &st)) {
if(stat(*next, &st)) {
perror_msg("`%s'", next);
toys.exitval = 1;
continue;