X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=shell%2Fbin%2Fsc;h=34746fa052239dd62720e9ee0c6846ebacc50460;hb=9e4b2aff9242c3e72c714c3bf01c670b576e6627;hp=506e90adc99ee29db12ae38aee44cecff4a7f89a;hpb=0b96090f82bd835ed3707be7f7a32cc497272458;p=config%2Fdotfiles.git diff --git a/shell/bin/sc b/shell/bin/sc index 506e90a..34746fa 100755 --- a/shell/bin/sc +++ b/shell/bin/sc @@ -2,7 +2,7 @@ # Small wrapper for systemctl which provides some shortcuts. -# Copyright (C) 2015 Simon Ruderich +# Copyright (C) 2015-2019 Simon Ruderich # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -50,4 +50,4 @@ for arg; do done set +u # empty $args causes an error, I think this is a bug in bash -exec systemctl "${args[@]}" +exec systemctl "${args[@]}" 2>&1