Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Jul 4, 2017
1 parent f525eac commit bada994
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/y2start/y2start
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ require "yast/y2start_helpers"

Yast::Y2StartHelpers.setup_signals

File.umask(0022)
File.umask(0o022)

Yast.y2milestone("y2base called with #{ARGV.inspect}")

Expand All @@ -28,8 +28,8 @@ if args[:generic_options][:help]
exit 0
end

if (args[:client_name] == "installation" &&
args[:client_options][:params].include?("initial"))
if args[:client_name] == "installation" &&
args[:client_options][:params].include?("initial")
ENV["YAST_IS_RUNNING"] = "instsys"
end

Expand All @@ -38,8 +38,7 @@ if !Yast::WFM.ClientExists(args[:client_name])
exit 1
end


NO_CLI_CLIENTS = ["installation", "view_anymsg"]
NO_CLI_CLIENTS = ["installation", "view_anymsg"].freeze
Yast.ui_create(args[:server_name], args[:server_options])
# set application title bsc#1033161
Yast.import "UI"
Expand Down

0 comments on commit bada994

Please sign in to comment.