diff --git a/lib/fsm.c b/lib/fsm.c index 2189bd84cc..a54e43bae1 100644 --- a/lib/fsm.c +++ b/lib/fsm.c @@ -903,7 +903,7 @@ int rpmPackageFilesInstall(rpmts ts, rpmte te, rpmfiles files, fp->fpath = fsmFsPath(fi, fp->suffix); /* Remap file perms, owner, and group. */ - rc = rpmfiStat(fi, 1, &fp->sb); + rc = rpmfiStat(fi, (fp->skip == 0), &fp->sb); /* Hardlinks are tricky and handled elsewhere for install */ fp->setmeta = (fp->skip == 0) &&