Replace pmap_unset() with rpcb_unset() which fixes the unregistering.
Submitted by: Martin Blapp <mb@imp.ch>
This commit is contained in:
parent
57d69411fc
commit
2009fd4382
@ -2506,7 +2506,7 @@ int sig;
|
||||
{
|
||||
close(mountdlockfd);
|
||||
unlink(MOUNTDLOCK);
|
||||
pmap_unset(RPCPROG_MNT, 1);
|
||||
pmap_unset(RPCPROG_MNT, 3);
|
||||
rpcb_unset(RPCPROG_MNT, RPCMNT_VER1, NULL);
|
||||
rpcb_unset(RPCPROG_MNT, RPCMNT_VER3, NULL);
|
||||
exit (0);
|
||||
}
|
||||
|
@ -2506,7 +2506,7 @@ int sig;
|
||||
{
|
||||
close(mountdlockfd);
|
||||
unlink(MOUNTDLOCK);
|
||||
pmap_unset(RPCPROG_MNT, 1);
|
||||
pmap_unset(RPCPROG_MNT, 3);
|
||||
rpcb_unset(RPCPROG_MNT, RPCMNT_VER1, NULL);
|
||||
rpcb_unset(RPCPROG_MNT, RPCMNT_VER3, NULL);
|
||||
exit (0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user