Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PortWINE
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mikhail Tergoev
PortWINE
Commits
c85b706f
Commit
c85b706f
authored
Oct 31, 2024
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added print_error for check exit_code in create_name_desktop
parent
732a0018
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
functions_helper
data_from_portwine/scripts/functions_helper
+6
-7
No files found.
data_from_portwine/scripts/functions_helper
View file @
c85b706f
...
...
@@ -1029,13 +1029,12 @@ create_name_desktop () {
while true ; do
search_desktop_file
local exit_code=
$?
if [[
$exit_code
== 0 ]] ; then
break
elif [[
$exit_code
== 1 ]] ; then
continue
elif [[
$exit_code
== 2 ]] ; then
return 0
fi
case
$exit_code
in
0) break ;;
1) continue ;;
2) return 0 ;;
*) print_error
"Broken search_desktop_file func. No exit_code."
;;
esac
done
if [[ -n
$DESKTOP_NAME_FILE
]] ; then
DESKTOP_NAME_FILE_OLD=
$DESKTOP_NAME_FILE
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment