mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
maint: revert last change: we're not ready for "local" in scripts, yet
Revert "use a local var: more readable"
This reverts commit c0d8245288.
This commit is contained in:
1 parent
c0d8245288
commit
f51a401bc2
1 file changed
+1
-2
+1
-2
@@ -124,8 +124,7 @@ uid_is_privileged_()
|
||||
|
||||
get_process_status_()
|
||||
{
|
||||
local pid=$1
|
||||
sed -n '/^State:[ ]*\([[:alpha:]]\).*/s//\1/p' /proc/$pid/status
|
||||
sed -n '/^State:[ ]*\([[:alpha:]]\).*/s//\1/p' /proc/$1/status
|
||||
}
|
||||
|
||||
# Convert an ls-style permission string, like drwxr----x and -rw-r-x-wx
|
||||
|
||||
Reference in new issue
Block a user