Skip to content

Commit

Permalink
gui_bootmanager: use a dash for unknown/missing modification source
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterPawn committed Jun 23, 2019
1 parent a7b13d0 commit e4fe5e7
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions bootmanager/gui_bootmanager
Original file line number Diff line number Diff line change
Expand Up @@ -754,16 +754,13 @@ get_localized_date()
get_modified_by()
(
base="${1:-}"
i=0
i=1
for f in $version_files; do
[ -f "$base/$f" ] && break
i=$(( i + 1 ))
if [ -f "$base/$f" ]; then
set -- $modified_by
eval printf "%s" "\$$i"
exit 0
fi
done
exit 1
set -- $modified_by
eval printf -- "%s" "\$$i"
)
#######################################################################################################
# #
Expand Down

0 comments on commit e4fe5e7

Please sign in to comment.