Mercurial > vim
view ci/load-snd-dummy.sh @ 21160:1a393685e7ce v8.2.1131
patch 8.2.1131: Vim9: error message for returning a value is not clear
Commit: https://github.com/vim/vim/commit/05a5551a86e013e35d1dfa10fd0d811c587f9c88
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 5 15:52:19 2020 +0200
patch 8.2.1131: Vim9: error message for returning a value is not clear
Problem: Vim9: error message for returning a value in a function that does
not return anything is not clear.
Solution: Add a specific message.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 05 Jul 2020 16:00:04 +0200 |
parents | c94c103e7cb4 |
children | 3a7017ee1161 |
line wrap: on
line source
#!/bin/bash set -e if ! modprobe snd-dummy; then # snd-dummy is contained in linux-modules-extra (if exists) apt install -y "linux-modules-extra-$(uname -r)" modprobe snd-dummy fi