From 70958bfc7c174c7a3057739adcdfbeac861353b4 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Mon, 26 Jun 1995 20:06:16 +0000 Subject: (diskfs_S_fsys_goaway): If diskfs_shutdown returns zero, then exit here. --- libdiskfs/fsys-goaway.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'libdiskfs/fsys-goaway.c') diff --git a/libdiskfs/fsys-goaway.c b/libdiskfs/fsys-goaway.c index 5648bb42..d0872967 100644 --- a/libdiskfs/fsys-goaway.c +++ b/libdiskfs/fsys-goaway.c @@ -36,6 +36,15 @@ diskfs_S_fsys_goaway (fsys_t controlport, /* XXX FSYS_GOAWAY_NOWAIT not implemented. */ ret = diskfs_shutdown (flags); + + if (ret == 0) + { + /* We are supposed to exit, but first notify the caller. */ + /* XXX But this isn't happening yet, because it means too + much pain. */ + exit (0); + } + ports_port_deref (pt); return ret; } -- cgit v1.2.3