diff options
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/smbcontrol.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/utils/smbcontrol.c b/source3/utils/smbcontrol.c index 815f9fddff..991d1d77d2 100644 --- a/source3/utils/smbcontrol.c +++ b/source3/utils/smbcontrol.c @@ -128,6 +128,8 @@ static BOOL send_message(char *dest, int msg_type, void *buf, int len, BOOL dupl fprintf(stderr,"Can't find pid for nmbd\n"); return False; } + } else if (strequal(dest,"self")) { + pid = getpid(); } else { pid = atoi(dest); if (pid == 0) { |