Replace pmap_unset() with rpcb_unset() which fixes the unregistering.
Submitted by: Martin Blapp <mb@imp.ch>
This commit is contained in:
parent
95b9973991
commit
7b98a1d680
@ -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