X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=blobdiff_plain;f=shell%2Fbin%2Fsc;h=34746fa052239dd62720e9ee0c6846ebacc50460;hp=506e90adc99ee29db12ae38aee44cecff4a7f89a;hb=3d5c932538a21d556c8266bf0a465bb5ca148dbd;hpb=ccaa5dd73ac47e8a672f0d86609104323b5da008 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