summary refs log tree commit diff
path: root/bin/up.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bin/up.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/up.sh b/bin/up.sh
index 3da132c1..8febee95 100644
--- a/bin/up.sh
+++ b/bin/up.sh
@@ -39,7 +39,7 @@ uploadHilex() {
 
 uploadScreen() {
 	temp
-	if type screencapture >/dev/null; then
+	if command -v screencapture >/dev/null; then
 		screencapture -i "$@" "${temp}/capture.png"
 	else
 		scrot -s "$@" "${temp}/capture.png"