diff options
author | Eric Curtin <ecurtin@redhat.com> | 2022-04-01 14:13:23 +0100 |
---|---|---|
committer | Eric Curtin <ecurtin@redhat.com> | 2022-04-01 14:13:23 +0100 |
commit | 123ca59cf286f03ce11f9f06bcf837071d5d15df (patch) | |
tree | 7e1d8ea23718f756e0aadb3ac6615cdc271b806e | |
parent | e40a59d2c2c2e7d0cde9c5b2c714ec37d1d6f785 (diff) |
scripts: plymouth-set-default-theme reporting missing right brace
Fixes issue:
/usr/sbin/plymouth-set-default-theme: line 199: [: missing `]'
when executed as plymouth-set-default-theme spinner
-rwxr-xr-x | scripts/plymouth-set-default-theme.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/plymouth-set-default-theme.in b/scripts/plymouth-set-default-theme.in index 5e978eb5..4af16245 100755 --- a/scripts/plymouth-set-default-theme.in +++ b/scripts/plymouth-set-default-theme.in @@ -196,7 +196,7 @@ if [ $DO_RESET -ne 0 ]; then [ $DO_INITRD_REBUILD -eq 0 ] && exit 0 fi -if [ $DO_INITRD_REBUILD -ne 0 -a -z $THEME_NAME]; then +if [ $DO_INITRD_REBUILD -ne 0 -a -z $THEME_NAME ]; then THEME_NAME=$(get_default_theme) fi |