From 431716d37421f387479cf142634b90267119d188 Mon Sep 17 00:00:00 2001 From: Dave Brolley Date: Fri, 2 Oct 2009 16:20:31 -0400 Subject: Fix stap-server bug. --unprivileged not processed if processed as first argument. --- stap-server | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stap-server b/stap-server index 51abf62f..d99eec2d 100755 --- a/stap-server +++ b/stap-server @@ -172,7 +172,7 @@ function read_data_file { # parse all options in order to discover the ones we're interested in. function parse_options { # We need to know in advance if --unprivileged was specified. - all_options="$@"" " + all_options=" ""$@"" " token=`expr "$all_options" : '.* \(--unprivileged\) .*'` if test "X$token" = "X--unprivileged"; then unprivileged=1 -- cgit