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

Bug #1417323 reported by Philip Stark
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
byobu
Fix Released
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

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.