diff options
author | jilles <jilles@FreeBSD.org> | 2013-10-18 12:35:12 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2013-10-18 12:35:12 +0000 |
commit | 3ccfe0d54448cb218d12f6d0b8057d2afe4b7af1 (patch) | |
tree | a11dc7ead3cb7fcca50ffcf400d9868ca3e32374 /sys/dev/altera/sdcard | |
parent | 15bf763e722770c678e3ab65e94bc17494c19e1a (diff) | |
download | FreeBSD-src-3ccfe0d54448cb218d12f6d0b8057d2afe4b7af1.zip FreeBSD-src-3ccfe0d54448cb218d12f6d0b8057d2afe4b7af1.tar.gz |
sh: Remove one syscall when waiting for a foreground job.
The getpgrp() call is unnecessary: if there is no job control then the
result was not used at all and if there is job control then we are not a
subshell and our process group ID is equal to our process ID (rootpid).
Diffstat (limited to 'sys/dev/altera/sdcard')
0 files changed, 0 insertions, 0 deletions