projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6479a8
)
Prepare for killing the fsm: Remove superfluous check for being in FSM_PROCESS to...
author
Florian Festi
<ffesti@redhat.com>
Wed, 28 Mar 2012 10:12:42 +0000
(12:12 +0200)
committer
Florian Festi
<ffesti@redhat.com>
Fri, 30 Mar 2012 13:00:40 +0000
(15:00 +0200)
lib/fsm.c
patch
|
blob
|
history
diff --git
a/lib/fsm.c
b/lib/fsm.c
index
225779a
..
a74a906
100644
(file)
--- a/
lib/fsm.c
+++ b/
lib/fsm.c
@@
-1677,8
+1677,7
@@
static int fsmVerify(FSM_t fsm)
if (S_ISSOCK(ost->st_mode)) return 0;
}
/* XXX shouldn't do this with commit/undo. */
- rc = 0;
- if (fsm->stage == FSM_PROCESS) rc = fsmUnlink(fsm->path, fsm->mapFlags);
+ rc = fsmUnlink(fsm->path, fsm->mapFlags);
if (rc == 0) rc = CPIOERR_ENOENT;
return (rc ? rc : CPIOERR_ENOENT); /* XXX HACK */
}