summaryrefslogtreecommitdiff
path: root/src/notify/notify.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/notify/notify.c')
-rw-r--r--src/notify/notify.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/notify/notify.c b/src/notify/notify.c
index 8d8e6db072..1aecd0e781 100644
--- a/src/notify/notify.c
+++ b/src/notify/notify.c
@@ -216,8 +216,6 @@ static int parse_argv(int argc, char *argv[]) {
int fdnr;
fdnr = parse_fd(optarg);
- if (fdnr == -ERANGE)
- return log_error_errno(fdnr, "File descriptor can't be negative: %s", optarg);
if (fdnr < 0)
return log_error_errno(fdnr, "Failed to parse file descriptor: %s", optarg);