Fix sysctl path /usr/sbin->/sbin
This commit is contained in:
parent
af172b7132
commit
012931c585
@ -28,7 +28,7 @@
|
||||
#
|
||||
# Rewritten from scratch for FreeBSD after the 4.3BSD manual page.
|
||||
#
|
||||
# $Id$
|
||||
# $Id: whereis.pl,v 1.4 1997/02/22 19:57:48 peter Exp $
|
||||
#
|
||||
|
||||
sub usage
|
||||
@ -96,7 +96,7 @@ if (!defined(@binaries)) {
|
||||
#
|
||||
# first, use default path, then append /usr/libexec and the user's path
|
||||
#
|
||||
local($cs_path) = `/usr/sbin/sysctl -n user.cs_path`;
|
||||
local($cs_path) = `/sbin/sysctl -n user.cs_path`;
|
||||
local(@list, %path);
|
||||
|
||||
chop($cs_path);
|
||||
|
Loading…
Reference in New Issue
Block a user