projects
/
liboping.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
oping: Allow “-f -” even if uid and euid differ.
[liboping.git]
/
src
/
oping.c
diff --git
a/src/oping.c
b/src/oping.c
index
8419710
..
3d1eddd
100644
(file)
--- a/
src/oping.c
+++ b/
src/oping.c
@@
-170,7
+170,7
@@
static int read_options (int argc, char **argv)
break;
case 'f':
- if (is_setuid ())
+ if (is_setuid ()
&& (strcmp ("-", optarg) != 0)
)
{
fprintf (stderr, "For security reasons the `-f' option "
"is disabled if real and effective "