mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
From: Tom Pavel <PAVEL@SLAC.Stanford.EDU>
Subject: man returns 1 In 1.1.5.1, man returns a status of 1 if the lookup succeeds and 0 if it fails. Here is a patch for what I believe is a simple oversight: Submitted by: jkh
This commit is contained in:
parent
e0c0215442
commit
bd240d5233
1 changed files with 2 additions and 1 deletions
|
|
@ -187,7 +187,8 @@ main (argc, argv)
|
|||
gripe_not_found (nextarg, section);
|
||||
}
|
||||
}
|
||||
return status;
|
||||
return (status==0); /* status==1 --> exit(0),
|
||||
status==0 --> exit(1) */
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Reference in a new issue