diff options
Diffstat (limited to '')
-rwxr-xr-x | .local/bin/system-upgrade | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.local/bin/system-upgrade b/.local/bin/system-upgrade index bbf9363..bb348fd 100755 --- a/.local/bin/system-upgrade +++ b/.local/bin/system-upgrade @@ -23,23 +23,23 @@ use constant { }; sub root_shell { - system( + my $ret = system( DASH_PATH, '-c', $_[0] ); - return; + return $ret; } sub user_shell { - system( + my $ret = system( DASH_PATH, '-c', SU_PATH . ' ' . DEFAULT_USER . ' << EOF ' . $_[0] . ' >/dev/null 2>&1 EOF' ); - return; + return $ret; } sub fbsd_update { |