Mailinglist Archive: yast-commit (2114 mails)

< Previous Next >
[yast-commit] <rest-service> master : Fix syntax issues
  • From: Klaus Kämpf <kkaempf@xxxxxxx>
  • Date: Tue, 29 Sep 2009 14:21:59 +0200
  • Message-id: <E1Msbia-0006my-Kw@xxxxxxxxxxxxxxxx>
ref: refs/heads/master
commit 8ba73225be3a36d32b72c3a5634bca358e3ce9f7
Author: Klaus Kämpf <kkaempf@xxxxxxx>
Date: Tue Sep 29 14:21:59 2009 +0200

Fix syntax issues
---
webservice/package/policyKit-rights.rb | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/webservice/package/policyKit-rights.rb
b/webservice/package/policyKit-rights.rb
index c2a249b..1b5a458 100755
--- a/webservice/package/policyKit-rights.rb
+++ b/webservice/package/policyKit-rights.rb
@@ -69,7 +69,7 @@ begin
if policy.include? SuseString and not policy.include? ".scr"
STDOUT.puts "granting: #{policy}"
command = "polkit-auth --user " + user + " --grant " + policy
- unless system (command)
+ unless system(command)
STDERR.puts "#{command} failed !"
end
end
@@ -91,7 +91,7 @@ begin
if policy.include? SuseString and not policy.include?
".scr"
STDOUT.puts "revoking: #{policy}"
command = "polkit-auth --user " + user + " --revoke " +
policy
- unless system (command)
+ unless system(command)
STDERR.puts "#{command} failed !"
end
end
--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages