projects
/
util-vserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
fixed VLAN setup: set the name-type, honor the 'ip' value and use the
[util-vserver.git]
/
util-vserver
/
lib
/
getvservervdir.c
diff --git
a/util-vserver/lib/getvservervdir.c
b/util-vserver/lib/getvservervdir.c
index
8ac43fd
..
754ae15
100644
(file)
--- a/
util-vserver/lib/getvservervdir.c
+++ b/
util-vserver/lib/getvservervdir.c
@@
-47,7
+47,7
@@
getDir(char *dir, bool physical)
dir = 0;
if (fchdir(fd)==-1) {
- write(2, "FATAL error: failed to restore directory\n", 41);
+ if (write(2, "FATAL error: failed to restore directory\n", 41)!=41) { /*...*/ }
abort();
}
close(fd);