summaryrefslogtreecommitdiff
path: root/pfinet/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'pfinet/main.c')
-rw-r--r--pfinet/main.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/pfinet/main.c b/pfinet/main.c
index 64c8a664..661a09c9 100644
--- a/pfinet/main.c
+++ b/pfinet/main.c
@@ -1,5 +1,5 @@
/*
- Copyright (C) 1995, 1996 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
Written by Michael I. Bushnell, p/BSG.
This file is part of the GNU Hurd.
@@ -242,5 +242,8 @@ trivfs_modify_stat (struct trivfs_protid *cred,
error_t
trivfs_goaway (struct trivfs_control *cntl, int flags)
{
- return EBUSY;
+ if (flags & FSYS_GOAWAY_FORCE)
+ exit (0);
+ else
+ return EBUSY;
}