mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
Don't bother checking the return status of the mtree command - it returns
non-zero stats when it changes things, too.
This commit is contained in:
parent
639fb258f9
commit
278ea7ecee
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=8096
@ -1,5 +1,5 @@
|
||||
#ifndef lint
|
||||
static const char *rcsid = "$Id: perform.c,v 1.21 1995/04/26 07:43:30 jkh Exp $";
|
||||
static const char *rcsid = "$Id: perform.c,v 1.22 1995/04/26 15:06:26 jkh Exp $";
|
||||
#endif
|
||||
|
||||
/*
|
||||
@ -318,14 +318,9 @@ pkg_do(char *pkg)
|
||||
if (Verbose)
|
||||
printf("mtree -u -f %s -d -e -p %s\n", MTREE_FNAME,
|
||||
p ? p->name : "/");
|
||||
if (!Fake) {
|
||||
if (vsystem("/usr/sbin/mtree -u -f %s -d -e -p %s",
|
||||
MTREE_FNAME, p ? p->name : "/")) {
|
||||
perror("error in the execution of mtree");
|
||||
unlink(MTREE_FNAME);
|
||||
goto fail;
|
||||
}
|
||||
}
|
||||
if (!Fake)
|
||||
vsystem("/usr/sbin/mtree -u -f %s -d -e -p %s",
|
||||
MTREE_FNAME, p ? p->name : "/"))
|
||||
unlink(MTREE_FNAME);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user