[Nix-dev] [Nix-commits] SVN commit: nix - r33225 - nixos/trunk/modules/system/activation

Nicolas Pierron nicolas.b.pierron at gmail.com
Sun Mar 18 06:04:05 CET 2012


Hi Eelco,

On Sat, Mar 17, 2012 at 19:36, Eelco Dolstra <e.dolstra at tudelft.nl> wrote:
> * Use the --quiet flag.
>
> Modified:
>   nixos/trunk/modules/system/activation/switch-to-configuration.sh
>
> Modified: nixos/trunk/modules/system/activation/switch-to-configuration.sh
> ==============================================================================
> --- nixos/trunk/modules/system/activation/switch-to-configuration.sh    Sun Mar 18 02:36:21 2012        (r33224)
> +++ nixos/trunk/modules/system/activation/switch-to-configuration.sh    Sun Mar 18 02:36:44 2012        (r33225)
> @@ -84,7 +84,7 @@
>  for job in $(initctl list | sed -e '/ stop\/waiting/ d; /^[^a-z]/ d; s/^\([^ ]\+\).*/\1/' | sort); do
>     if ! [ -e "$newJobs/$job.conf" ] ; then
>         echo "stopping obsolete job ‘$job’..."
> -        initctl stop "$job" || true
> +        stop --quiet "$job" || true
>     fi
>  done
>

I found this output extremely useful, especially when one hang.
Removing the output will make this more difficult to track.

-- 
Nicolas Pierron
http://www.linkedin.com/in/nicolasbpierron - http://nbp.name/


More information about the nix-dev mailing list