Broken Config File is not moved out of the way correctly on launch

Bug #1417323 reported by Philip Stark on 2015-02-03
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
byobu
Medium
Unassigned

Bug Description

See this line:

https://github.com/dustinkirkland/byobu/blob/master/usr/bin/byobu.in#L38

mv -f needs two arguments. Did you maybe mean

. "$HOME/.byoburc" || mv -f "$HOME/.byoburc"{,.orig}

or expanding then globbing expression:

. "$HOME/.byoburc" || mv -f "$HOME/.byoburc" "$HOME/.byoburc".orig

Thanks for your software.

Take care,
Phil S.

Related branches

Dustin Kirkland  (kirkland) wrote :

bzr commit -m '* usr/bin/byobu.in: LP: #1417323
  - fix broken mv call' --fixes 'lp:1417323'
Committing to: /local/media/src/byobu/byobu/
modified debian/changelog
modified usr/bin/byobu.in
Committed revision 2408.

Changed in byobu:
status: New → Fix Committed
Changed in byobu:
importance: Undecided → Medium
Changed in byobu:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers