summaryrefslogtreecommitdiffstats
path: root/arch-up
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-08-31 16:10:30 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-08-31 16:10:30 +0200
commit6ff99127f7db23bcbbd2ca34a6273dcfb5efa761 (patch)
treedb6b2c40d14b05444e1844cd8a4ace72dbb67689 /arch-up
parent4d12f1be34524df88cff8f7728a581e05c1536f9 (diff)
downloadbin-6ff99127f7db23bcbbd2ca34a6273dcfb5efa761.zip
bin-6ff99127f7db23bcbbd2ca34a6273dcfb5efa761.tar.gz
use sudo_run for find . -name *.pacnew
Diffstat (limited to 'arch-up')
-rwxr-xr-xarch-up2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch-up b/arch-up
index 0f5db25..e3de9e5 100755
--- a/arch-up
+++ b/arch-up
@@ -65,7 +65,7 @@ function check_etc_git() {
[ -e /etc/.git ] || return
run "cd /etc"
sudo_run "git status"
- find . -name *.pacnew
+ sudo_run "find . -name *.pacnew"
}
update_pacman