File tree Expand file tree Collapse file tree 4 files changed +4
-8
lines changed Expand file tree Collapse file tree 4 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ fn get_long_usage() -> String {
3636}
3737
3838#[ inline]
39+ #[ cfg( not( target_os = "openbsd" ) ) ]
3940fn pid_is_alive ( pid : i32 ) -> bool {
4041 if pid <= 0 {
4142 return true ;
Original file line number Diff line number Diff line change @@ -26,10 +26,7 @@ who-help-users = list users logged in
2626who-help-mesg = add user's message status as +, - or ?
2727
2828# Output messages
29- who-user-count = # { $count ->
30- [ one ] user={ $count }
31- *[ other ] users={ $count }
32- }
29+ who-user-count = # users={ $count }
3330
3431# Idle time indicators
3532who-idle-current = .
Original file line number Diff line number Diff line change @@ -25,10 +25,7 @@ who-help-users = liste les utilisateurs connectés
2525who-help-mesg = ajoute le statut de message de l'utilisateur comme +, - ou ?
2626
2727# Output messages
28- who-user-count = # { $count ->
29- [ one ] utilisateur={ $count }
30- *[ other ] utilisateurs={ $count }
31- }
28+ who-user-count = # utilisateurs={ $count }
3229
3330# Idle time indicators
3431who-idle-old = anc.
Original file line number Diff line number Diff line change @@ -181,6 +181,7 @@ fn time_string(ut: &UtmpxRecord) -> String {
181181}
182182
183183#[ inline]
184+ #[ cfg( not( target_os = "openbsd" ) ) ]
184185fn pid_is_alive ( pid : i32 ) -> bool {
185186 if pid <= 0 {
186187 return true ;
You can’t perform that action at this time.
0 commit comments