mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
profile: return earlier if it is loaded from non-bash shell
Follow-up for dadbb34919.
This commit is contained in:
@@ -10,6 +10,9 @@
|
||||
# the Free Software Foundation; either version 2.1 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# Not bash?
|
||||
[ -n "${BASH_VERSION:-}" ] || return 0
|
||||
|
||||
__systemd_osc_context_escape() {
|
||||
# Escape according to the OSC 8003 spec. Since this requires shelling out
|
||||
# to 'sed' we'll only do it where it's strictly necessary, and skip it when
|
||||
|
||||
Reference in New Issue
Block a user