Browse Source

Fix comments.

master
Daniel Perelman 1 year ago
parent
commit
3d620591ba
3 changed files with 2 additions and 3 deletions
  1. +2
    -1
      bash.sh
  2. +0
    -1
      dash.sh
  3. +0
    -1
      zsh.sh

+ 2
- 1
bash.sh View File

@@ -1,6 +1,7 @@
#!/bin/bash
set -e

kill_child_jobs() {
# From https://stackoverflow.com/a/360275
# From https://unix.stackexchange.com/a/544167
while kill %% 2>/dev/null; do sleep 0; done
}

+ 0
- 1
dash.sh View File

@@ -1,7 +1,6 @@
#!/bin/sh
set -e

# From https://stackoverflow.com/a/360275
kill_child_jobs() {
echo "In kill_child_jobs()..."
# Workaround for https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=482999


+ 0
- 1
zsh.sh View File

@@ -1,7 +1,6 @@
#!/bin/zsh
set -e

# From https://stackoverflow.com/a/360275
kill_child_jobs() {
echo "In kill_child_jobs()..."



Loading…
Cancel
Save