mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 22:34:23 -07:00
usr/bin/byobu-reconnect-sockets
This commit is contained in:
parent
adb87a2835
commit
9e26774707
2 changed files with 13 additions and 7 deletions
1
debian/changelog
vendored
1
debian/changelog
vendored
|
@ -6,6 +6,7 @@ byobu (2.81) unreleased; urgency=low
|
|||
- usr/lib/byobu/release
|
||||
- usr/lib/services
|
||||
- usr/bin/byobu-status-detail
|
||||
- usr/bin/byobu-reconnect-sockets
|
||||
* usr/bin/byobu-config, usr/share/doc/byobu/help.txt: improve help
|
||||
text, per feedback from Turnkey Linux users
|
||||
|
||||
|
|
|
@ -22,13 +22,18 @@
|
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
if ! echo $- | grep -qs i; then
|
||||
echo
|
||||
echo "ERROR: You must source this file, rather than execute it."
|
||||
echo " . $0"
|
||||
echo
|
||||
#exit 1
|
||||
fi
|
||||
case "$-" in
|
||||
*i*)
|
||||
# no-op
|
||||
;;
|
||||
*)
|
||||
echo
|
||||
echo "ERROR: You must source this file, rather than execute it."
|
||||
echo " . $0"
|
||||
echo
|
||||
#exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
# Establish gpg-agent socket, helps when reconnecting to a detached session
|
||||
# Sorry, ls -t is needed here, to sort by time
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue